Mercurial > public > sg101
view gpp/antispam/admin.py @ 371:c8c0fa817a05
Fixing #181; delete PM's if we can. Add ability for a sender to take back a PM if they delete it before it has been read.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Mar 2011 20:23:09 +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)