summaryrefslogtreecommitdiff
path: root/tests/get_or_create
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-05-19 13:58:58 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-05-19 13:58:58 -0700
commit7c56212c71e4794561ffd00518599144001c35b2 (patch)
treef68f797ddd2260e0e0fc25b6fdb4855a490893af /tests/get_or_create
parent190771d003de51af28d29bdd0e0f2bc25f9d85a2 (diff)
downloaddjango-7c56212c71e4794561ffd00518599144001c35b2.tar.gz
Lower the max length for a test field so that it works on MySQL.
Diffstat (limited to 'tests/get_or_create')
-rw-r--r--tests/get_or_create/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/get_or_create/models.py b/tests/get_or_create/models.py
index 2f21344f59..84c8fda968 100644
--- a/tests/get_or_create/models.py
+++ b/tests/get_or_create/models.py
@@ -31,7 +31,7 @@ class Profile(models.Model):
class Tag(models.Model):
- text = models.CharField(max_length=256, unique=True)
+ text = models.CharField(max_length=255, unique=True)
class Thing(models.Model):