#17294: django.utils.timezone functions raise AttributeError if DateTimeField
allows null
--------------------------------------+--------------------
     Reporter:  pressureman           |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Internationalization  |    Version:  SVN
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  1
Easy pickings:  1                     |      UI/UX:  0
--------------------------------------+--------------------
 Since a null DateTimeField == None, and Python's None type does not
 contain a tzinfo attribute, the functions is_aware() and is_naive() will
 raise AttributeError.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17294>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to