Fixed GenericRelationTests.test_annotate when primary key values are large.

On CockroachDB, primary key values stored in this fields are larger
than they accept.
This commit is contained in:
Tim Graham 2020-11-03 21:28:09 -05:00 committed by Mariusz Felisiak
parent be27da9d6e
commit 16adf4d6b1
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class Tag(models.Model):
class Board(models.Model):
name = models.CharField(primary_key=True, max_length=15)
name = models.CharField(primary_key=True, max_length=25)
class SpecialGenericRelation(GenericRelation):