Mercurial > public > sg101
view gpp/antispam/admin.py @ 276:8a46843c258f
Fixing tickets #119 & #124. All search categories are checked on the search form by default now. Made cosmetic tweaks as suggested in #124.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 30 Sep 2010 00:06:04 +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)