Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Ian Kelly authored April 11, 2009

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/db/models/fields/__init__.py
1  django/db/models/fields/__init__.py
@@ -370,6 +370,7 @@ def formfield(self, **kwargs):
370 370
         return None
371 371
 
372 372
 class BooleanField(Field):
  373
+    empty_strings_allowed = False
373 374
     def __init__(self, *args, **kwargs):
374 375
         kwargs['blank'] = True
375 376
         if 'default' not in kwargs and not kwargs.get('null'):

0 notes on commit e07a3a2

Please sign in to comment.
Something went wrong with that request. Please try again.