Mercurial > public > sg101
view gpp/antispam/admin.py @ 414:b1f939b1fb01
Fixing #204; added the ability to search on forum topics.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 19:20:12 +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)