view gpp/smiley/admin.py @ 342:8587c7a22094

Moved the social block up higher, just below the main nav.
author Brian Neal <bgneal@gmail.com>
date Sun, 27 Feb 2011 01:58:49 +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)