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