On Mon, Mar 23, 2009 at 2:58 AM, chefsmart <[email protected]> wrote:

> I am working on an application that interacts with a Django app
> through Django's xml serialization (using django-rest-interface).
>
> All was going ok, when today I got stuck because while Django used to
> serialize BooleanFields as <field type="BooleanField"
> name="is_active">1</field> or <field type="BooleanField"
> name="is_active">0</field> today I received <field type="BooleanField"
> name="is_active">True</field>
>
> Why did this happen? I am using the same Django (svn trunk) that I was
> using yesterday.
>

Did you change databases?  1/0 for BooleanField looks like MySQL, True/False
something else.  There's a ticket reporting this:

http://code.djangoproject.com/ticket/6276

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to