Mercurial > public > sg101
view smiley/admin.py @ 737:775e7f74096a
For #60, encode user photo filenames before logging.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 13 Dec 2013 19:59:36 -0600 |
parents | ee87ea74d46b |
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)