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):