comparison gpp/smiley/admin.py @ 288:4ba879ccdc62

Adding all the smilies from the old site as extra smilies
author Brian Neal <bgneal@gmail.com>
date Sun, 05 Dec 2010 20:58:58 +0000
parents 3ae999b0c53b
children
comparison
equal deleted inserted replaced
287:47a7138fcccb 288:4ba879ccdc62
5 from django.contrib import admin 5 from django.contrib import admin
6 from smiley.models import Smiley 6 from smiley.models import Smiley
7 7
8 class SmileyAdmin(admin.ModelAdmin): 8 class SmileyAdmin(admin.ModelAdmin):
9 list_display = ('title', 'code', 'html', 'is_extra') 9 list_display = ('title', 'code', 'html', 'is_extra')
10 list_filter = ('is_extra', )
10 11
11 admin.site.register(Smiley, SmileyAdmin) 12 admin.site.register(Smiley, SmileyAdmin)