view gpp/antispam/admin.py @ 449:cb33b90d5596

Template touch-up for #219.
author Brian Neal <bgneal@gmail.com>
date Sat, 25 Jun 2011 23:32:52 +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)