Mercurial > public > sg101
view smiley/admin.py @ 1101:999b32c63cae
Made main menu aligned to right.
Since expanded seems broken...
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 06 Jul 2016 19:46:20 -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)