mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Fixed the max_length setting to use a int instead of a string
This commit is contained in:
parent
dfc277f08a
commit
f61e6f6f36
1 changed files with 1 additions and 1 deletions
|
|
@ -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'."))
|
||||
|
|
|
|||
Loading…
Reference in a new issue