From 5db80d3eeab1b27ef38f6b5b815e7ed51564ee3c Mon Sep 17 00:00:00 2001 From: Joseph Spiros Date: Mon, 5 Jul 2010 14:34:47 -0400 Subject: [PATCH] Increasing the max_length of the slug field on Titled (and all subclasses). --- models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/base.py b/models/base.py index 700b1e7..2f5bf93 100644 --- a/models/base.py +++ b/models/base.py @@ -20,7 +20,7 @@ class Tag(models.Model): class Titled(models.Model): title = models.CharField(max_length=255) - slug = models.SlugField() + slug = models.SlugField(max_length=255) def __unicode__(self): return self.title -- 2.20.1