Mercurial > public > sg101
view gpp/antispam/admin.py @ 408:7e0997b08b50
Fixes for #200; fix bug in deciding which forums have unread posts.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 02 Apr 2011 00:12:40 +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)