Author: ikelly Date: 2009-04-10 19:06:53 -0500 (Fri, 10 Apr 2009) New Revision: 10505
Modified: django/trunk/django/db/models/fields/__init__.py Log: Fixed BooleanFields being coerced null=True in Oracle. Modified: django/trunk/django/db/models/fields/__init__.py =================================================================== --- django/trunk/django/db/models/fields/__init__.py 2009-04-10 21:45:21 UTC (rev 10504) +++ django/trunk/django/db/models/fields/__init__.py 2009-04-11 00:06:53 UTC (rev 10505) @@ -370,6 +370,7 @@ return None class BooleanField(Field): + empty_strings_allowed = False def __init__(self, *args, **kwargs): kwargs['blank'] = True if 'default' not in kwargs and not kwargs.get('null'): --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---