Mercurial > public > sg101
diff gpp/downloads/admin.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 | b4305e18d3af |
children | d424b8bae71d |
line wrap: on
line diff
--- a/gpp/downloads/admin.py Wed Sep 15 00:14:54 2010 +0000 +++ b/gpp/downloads/admin.py Wed Sep 15 01:01:40 2010 +0000 @@ -14,7 +14,8 @@ class CategoryAdmin(admin.ModelAdmin): - list_display = ('title', 'description', 'count') + list_display = ('title', 'slug', 'description', 'count') + prepopulated_fields = {'slug': ('title', )} readonly_fields = ('count', )