summaryrefslogtreecommitdiff
path: root/tests/regressiontests/model_fields/models.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-04-09 12:39:08 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-04-09 12:39:08 +0000
commite9bbdb39de3047761fa8d03d5241eccd571093ff (patch)
treeea5a37276a396584f453704da648cfe8799ccf4b /tests/regressiontests/model_fields/models.py
parent056c940f0d723eb66fc06b43c28a743c84d54b3b (diff)
Fixed #13293 -- Corrected a problem with the MySQL handling of boolean return values when a query has an extra() clause. Thanks to mk for the report and draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/model_fields/models.py')
-rw-r--r--tests/regressiontests/model_fields/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regressiontests/model_fields/models.py b/tests/regressiontests/model_fields/models.py
index 5e480aa9a5..72c7beb014 100644
--- a/tests/regressiontests/model_fields/models.py
+++ b/tests/regressiontests/model_fields/models.py
@@ -69,6 +69,7 @@ class NullBooleanModel(models.Model):
class BooleanModel(models.Model):
bfield = models.BooleanField()
+ string = models.CharField(max_length=10, default='abc')
###############################################################################
# ImageField