From f61e6f6f3605326b983110184877e62478844c64 Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Mon, 15 Feb 2016 11:53:01 -0600 Subject: [PATCH] Fixed the max_length setting to use a int instead of a string --- categories/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/categories/models.py b/categories/models.py index ec7366f..1921cfe 100644 --- a/categories/models.py +++ b/categories/models.py @@ -134,7 +134,7 @@ class CategoryRelation(models.Model): object_id = models.PositiveIntegerField(verbose_name=_('object id')) content_object = GenericForeignKey('content_type', 'object_id') relation_type = models.CharField(verbose_name=_('relation type'), - max_length="200", + max_length=200, blank=True, null=True, help_text=_("A generic text field to tag a relation, like 'leadphoto'."))