diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-05-19 13:58:58 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-05-19 13:58:58 -0700 |
commit | 7c56212c71e4794561ffd00518599144001c35b2 (patch) | |
tree | f68f797ddd2260e0e0fc25b6fdb4855a490893af /tests/get_or_create | |
parent | 190771d003de51af28d29bdd0e0f2bc25f9d85a2 (diff) | |
download | django-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.py | 2 |
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): |