From 7c56212c71e4794561ffd00518599144001c35b2 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 19 May 2013 13:58:58 -0700 Subject: [PATCH] Lower the max length for a test field so that it works on MySQL. --- tests/get_or_create/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):