List Info

Thread: Re: loaddata problem with boolean null in fixture - anyone seen this?




Re: loaddata problem with boolean null in fixture - anyone seen this?
user name
2008-01-03 01:15:44
It turns out this problem has been reported by others, see
ticket
http://code
.djangoproject.com/ticket/5563

The easiest solution in this case was to change the type of
the field,
from models.BooleanField to models.NullBooleanField, and now
null
values from the dumpdata are loaded without a problem.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )