view gpp/antispam/admin.py @ 547:15fad6df98d9

Update requirements.txt & .hgignore.
author Brian Neal <bgneal@gmail.com>
date Fri, 13 Jan 2012 20:20:54 -0600
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)