git.ithinksw.org
/
philo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776f7c5
)
Increasing the max_length of the slug field on Titled (and all subclasses).
author
Joseph Spiros
<joseph.spiros@ithinksw.com>
Mon, 5 Jul 2010 18:34:47 +0000
(14:34 -0400)
committer
Joseph Spiros
<joseph.spiros@ithinksw.com>
Mon, 5 Jul 2010 18:34:47 +0000
(14:34 -0400)
models/base.py
patch
|
blob
|
history
diff --git
a/models/base.py
b/models/base.py
index
700b1e7
..
2f5bf93
100644
(file)
--- 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