Browse files

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

  • Loading branch information...
1 parent 190771d commit 7c56212c71e4794561ffd00518599144001c35b2 @alex alex committed May 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/get_or_create/models.py
View
2 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):

0 comments on commit 7c56212

Please sign in to comment.