#9853: DateField and DateTimeField documentation incomplete
---------------------------+------------------------------------------------
 Reporter:  anonymous      |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 The documentation in the Model Field Reference for the DateField,
 DateTimeField and TimeField does not mention that these fields normalize
 to python datetime objects. The documention also does not indicate how to
 set or modify these values in python code (although acceptable inputs in
 forms is documented in the Form Fields reference).

 I think the DateField doc
 (http://docs.djangoproject.com/en/dev/ref/models/fields/#datefield) could
 be improved as follows:

 Current: A date field. Has a few extra optional arguments:

 Suggested: A date field. Normalizes to a python datetime.date object. Has
 a few optional arguments.

 And similarly for DateTimeField and TimeField.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9853>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to