I see it in my views.  When I return the set and saved values for a
model, I get True or False from my app on the MacBook (Postgres) and 1
or 0 from the exact same code on my Slicehost site (MySQL.)

So, if I add something like:

m = Model.objects.get(id=id)
print m.boolean_field_name

I get True/False on my MacBook and 1/0 on my Slicehost site.  I have
also confirmed this in python manage.py shell.

>>> from visionary.harp.models import Combatant_Template
>>> ct = Combatant_Template.objects.all()
>>> ct[0]
<Combatant_Template: Orc (  L0)>
>>> ct[0].party <--- A BooleanField
0 <-- result on Slicehost site using MySQL

>>> ct[0].party <--- A BooleanField
True <-- result on MacBook Pro using PostgreSQL

Perhaps there's a setting I need that is missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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