Permalink
Browse files

Fixed BooleanFields being coerced null=True in Oracle.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a34b718 commit e07a3a278ed27b95ed7ec53b97d991fad3b33aa6 @ikelly ikelly committed Apr 11, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/db/models/fields/__init__.py
View
1 django/db/models/fields/__init__.py
@@ -370,6 +370,7 @@ def formfield(self, **kwargs):
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'):

0 comments on commit e07a3a2

Please sign in to comment.