#33484: Improve docs
------------------------------------------------+------------------------
               Reporter:  MojixCoder            |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Documentation         |        Version:  4.0
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 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
 [link](https://docs.djangoproject.com/en/4.0/ref/models/querysets/#date)
 in the docs.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33484>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.c9202e8ce7c9dc01da25e2ad05fdaf67%40djangoproject.com.

Reply via email to