comparison 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
comparison
equal deleted inserted replaced
240:1246a4f1ab4f 241:27bee3ac85e6
12 12
13 13
14 class Category(models.Model): 14 class Category(models.Model):
15 """Downloads belong to categories.""" 15 """Downloads belong to categories."""
16 title = models.CharField(max_length=64) 16 title = models.CharField(max_length=64)
17 slug = models.SlugField(max_length=64)
17 description = models.TextField(blank=True) 18 description = models.TextField(blank=True)
18 count = models.IntegerField(default=0, blank=True) 19 count = models.IntegerField(default=0, blank=True)
19 20
20 class Meta: 21 class Meta:
21 verbose_name_plural = 'Categories' 22 verbose_name_plural = 'Categories'