view gpp/antispam/admin.py @ 214:28988cce138b

Implement #83: a string filter facility like NukeSeSentinel. It currently isn't hooked up to anything. Will do that in #84.
author Brian Neal <bgneal@gmail.com>
date Fri, 14 May 2010 02:19:48 +0000
parents
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)