comparison 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
comparison
equal deleted inserted replaced
241:27bee3ac85e6 242:7e8d2dda99e3
8 8
9 9
10 class Category(models.Model): 10 class Category(models.Model):
11 """Links belong to categories""" 11 """Links belong to categories"""
12 title = models.CharField(max_length=64) 12 title = models.CharField(max_length=64)
13 slug = models.SlugField(max_length=64)
13 description = models.TextField(blank=True) 14 description = models.TextField(blank=True)
14 count = models.IntegerField(default=0) 15 count = models.IntegerField(default=0)
15 16
16 def __unicode__(self): 17 def __unicode__(self):
17 return self.title 18 return self.title