Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit e07a3a278ed27b95ed7ec53b97d991fad3b33aa6 1 parent a34b718
@ikelly ikelly authored
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'):
Please sign in to comment.
Something went wrong with that request. Please try again.