On Wed, 2007-10-03 at 14:30 +0300, Peter Nixon wrote:
> Hi Guys
> 
> It turns out that setting a field to "models.NullBooleanField(blank=True, 
> null=True,)" causes all sorts of bad things to happen as Django tries to 
> insert '' into boolean fields... I know that NullBooleanField should 
> probably not have these switches (I did it by mistake) but I am not sure 
> than Django should _ever_ trying to insert '' into a boolean field.

Bugs filed in Trac have a greater chance of being not forgotten. :-)

You're essential claim is correct, though. BooleanFields should be
treated as strings -- I thought we'd already fixed that, but maybe it's
still on the TODO list somewhere.

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to