Mercurial > public > sg101
view gpp/antispam/admin.py @ 288:4ba879ccdc62
Adding all the smilies from the old site as extra smilies
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 05 Dec 2010 20:58:58 +0000 |
parents | 28988cce138b |
children |
line wrap: on
line source
"""Admin definitions for the antispam application.""" from django.contrib import admin from antispam.models import SpamPhrase class SpamPhraseAdmin(admin.ModelAdmin): search_fields = ('phrase', ) admin.site.register(SpamPhrase, SpamPhraseAdmin)