Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.0.X] Fixed BooleanFields being coerced null=True in Oracle. Backpo…

…rt of r10505 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 68033811eecd1f1b06b39d0a335042e1ff9036a6 1 parent cccfeaa
Ian Kelly authored May 13, 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
@@ -362,6 +362,7 @@ def formfield(self, **kwargs):
362 362
         return None
363 363
 
364 364
 class BooleanField(Field):
  365
+    empty_strings_allowed = False
365 366
     def __init__(self, *args, **kwargs):
366 367
         kwargs['blank'] = True
367 368
         if 'default' not in kwargs and not kwargs.get('null'):

0 notes on commit 6803381

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