#12467: More helpful error message when loading fixture with invalid date
--------------------------------------+------------------------------------
     Reporter:  knutin                |                    Owner:  raulcd
         Type:  New feature           |                   Status:  closed
    Component:  Core (Serialization)  |                  Version:  SVN
     Severity:  Normal                |               Resolution:  fixed
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by akaariai):

 The commit made a couple of always True asserts:

 {{{
 /home/akaj/Django/django_test/django/db/models/fields/__init__.py:513:
 SyntaxWarning: assertion is always true, perhaps remove parentheses?
   assert (kwargs.get('primary_key', False) is True,
 /home/akaj/Django/django_test/django/db/models/fields/__init__.py:539:
 SyntaxWarning: assertion is always true, perhaps remove parentheses?

 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/12467#comment:9>
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 [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