Opened 3 years ago
Last modified 3 years ago
#33484 closed Cleanup/optimization
Improve docs — at Version 1
Reported by: | MojixCoder | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 4.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Django docs about date
lookup filter:
For datetime fields, casts the value as date. Allows chaining additional field lookups. Takes a date value.
But I have tried that we can also use a string value representing the date instead of date object.
and also all of the examples of this filter are implemented using date objects.
Shouldn't we add that we can also pass a string value instead of date?
Here is the https://docs.djangoproject.com/en/4.0/ref/models/querysets/#date in the docs.