view gpp/smiley/admin.py @ 485:7c69b1449d7a

For #233, make sure og:url and og:image are fully qualified (http://).
author Brian Neal <bgneal@gmail.com>
date Tue, 18 Oct 2011 00:14:34 +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)