#8886: loaddata deserializes BooleanFields wrong for inheriting model
-----------------------------------+----------------------------------------
 Reporter:  [EMAIL PROTECTED]    |       Owner:  nobody    
   Status:  new                    |   Milestone:            
Component:  Serialization          |     Version:  1.0       
 Keywords:  loaddata BooleanField  |       Stage:  Unreviewed
Has_patch:  0                      |  
-----------------------------------+----------------------------------------
 When using a very simple model of an Employee that extends auth.User,
 BooleanFields always keep the default value, ignoring the actual value
 from the JSON file.

 Attached is a simple model that extends auth.User and a sample JSON dump.
 Simply sync the database and load the JSON file. While the boolean values
 for User have their correct values, the "is_active" field for Employee
 will be true for both. If you remove the "default=True", both of them will
 be false, which isn't correct either.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8886>
Django Code <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