view gpp/antispam/admin.py @ 233:6dde069debd4

Fix bug in r246.
author Brian Neal <bgneal@gmail.com>
date Sun, 01 Aug 2010 21:30:22 +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)