X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/9b40768160da75802636fc2b45c1f68bd36fd7bd..60a1df9c4f1df657cee19951a87f781b0e2bf85a:/models/base.py?ds=sidebyside diff --git a/models/base.py b/models/base.py index 9da9230..27c45dc 100644 --- a/models/base.py +++ b/models/base.py @@ -241,7 +241,7 @@ class TreeManager(models.Manager): class TreeModel(models.Model): objects = TreeManager() parent = models.ForeignKey('self', related_name='children', null=True, blank=True) - slug = models.SlugField() + slug = models.SlugField(max_length=255) def has_ancestor(self, ancestor): parent = self