Mercurial > public > sg101
diff gpp/downloads/models.py @ 241:27bee3ac85e6
For #93: fix url scheme for downloads.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 01:01:40 +0000 |
parents | 8d13baeaa5c1 |
children | d424b8bae71d |
line wrap: on
line diff
--- a/gpp/downloads/models.py Wed Sep 15 00:14:54 2010 +0000 +++ b/gpp/downloads/models.py Wed Sep 15 01:01:40 2010 +0000 @@ -14,6 +14,7 @@ class Category(models.Model): """Downloads belong to categories.""" title = models.CharField(max_length=64) + slug = models.SlugField(max_length=64) description = models.TextField(blank=True) count = models.IntegerField(default=0, blank=True)