Mercurial > public > sg101
comparison gpp/smiley/admin.py @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 3ae999b0c53b |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 """ | |
2 This file contains the automatic admin site definitions for the Smiley models. | |
3 """ | |
4 | |
5 from django.contrib import admin | |
6 from smiley.models import Smiley | |
7 | |
8 class SmileyAdmin(admin.ModelAdmin): | |
9 list_display = ('title', 'code', 'html') | |
10 | |
11 admin.site.register(Smiley, SmileyAdmin) |