Преглед изворни кода

Lower the max length for a test field so that it works on MySQL.

Alex Gaynor пре 12 година
родитељ
комит
7c56212c71
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tests/get_or_create/models.py

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