Mercurial > public > sg101
view smiley/admin.py @ 672:69e8aa135c2e
For issue #34, make social media share buttons more privacy concious.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 26 May 2013 13:29:44 -0500 |
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)