Mercurial > public > sg101
view gpp/antispam/admin.py @ 474:501dfb88035d
Adding Ferenc's 50 years of surf music banner.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 05 Sep 2011 23:43:08 +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)