mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #24866 -- Added Now() database function
This commit is contained in:
@@ -240,6 +240,9 @@ Models
|
||||
* Added the :lookup:`date` lookup to :class:`~django.db.models.DateTimeField`
|
||||
to allow querying the field by only the date portion.
|
||||
|
||||
* Added the :class:`~django.db.models.functions.Now` database function, which
|
||||
returns the current date and time.
|
||||
|
||||
CSRF
|
||||
^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user