Increasing the max_length of the slug field on Titled (and all subclasses).
[philo.git] / models / base.py
index 700b1e7..2f5bf93 100644 (file)
@@ -20,7 +20,7 @@ class Tag(models.Model):
 
 class Titled(models.Model):
        title = models.CharField(max_length=255)
 
 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
        
        def __unicode__(self):
                return self.title