summaryrefslogtreecommitdiff
path: root/tests/regressiontests/model_fields/models.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-04-01 15:10:53 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-04-01 15:10:53 +0000
commit271bcda04af23bd4deb9656edd59038537f301c5 (patch)
tree121b6e87e14f4dac6f11cc78456c6fd09ddfa6d3 /tests/regressiontests/model_fields/models.py
parent2fa2cf0a092816bfd92ff5e94907f5bca8f3c365 (diff)
Fixed #7190 -- Corrected a problem with Boolean value handling on the MySQL backend. Thanks to George Vilches for the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/model_fields/models.py')
-rw-r--r--tests/regressiontests/model_fields/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/model_fields/models.py b/tests/regressiontests/model_fields/models.py
index 0e365fec30..5e480aa9a5 100644
--- a/tests/regressiontests/model_fields/models.py
+++ b/tests/regressiontests/model_fields/models.py
@@ -67,6 +67,8 @@ class Post(models.Model):
class NullBooleanModel(models.Model):
nbfield = models.NullBooleanField()
+class BooleanModel(models.Model):
+ bfield = models.BooleanField()
###############################################################################
# ImageField