view gpp/smiley/admin.py @ 332:a805c496923f

Added credit to Abe & Fady for testing on the colophon. Adjusted copyright on base.html.
author Brian Neal <bgneal@gmail.com>
date Fri, 25 Feb 2011 04:23:42 +0000
parents 4ba879ccdc62
children
line wrap: on
line source
"""
This file contains the automatic admin site definitions for the Smiley models.
"""

from django.contrib import admin
from smiley.models import Smiley

class SmileyAdmin(admin.ModelAdmin):
    list_display = ('title', 'code', 'html', 'is_extra')
    list_filter = ('is_extra', )

admin.site.register(Smiley, SmileyAdmin)