浏览代码

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