view gpp/antispam/admin.py @ 284:df2c81f705a8

Forgot to add this file in last revision (r305).
author Brian Neal <bgneal@gmail.com>
date Mon, 04 Oct 2010 01:01:29 +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)