Mercurial > public > sg101
diff gpp/weblinks/models.py @ 242:7e8d2dda99e3
For #93: fix url scheme for weblinks.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 03:24:01 +0000 |
parents | 1085dc38399e |
children | d424b8bae71d |
line wrap: on
line diff
--- a/gpp/weblinks/models.py Wed Sep 15 01:01:40 2010 +0000 +++ b/gpp/weblinks/models.py Wed Sep 15 03:24:01 2010 +0000 @@ -10,6 +10,7 @@ class Category(models.Model): """Links 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)