view gpp/antispam/admin.py @ 360:2e90b63520b8

Trying to fix #180 again. Changed the syntax for strikethrough to 3 dashes to make it less harder to do accidently.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 02:30:53 +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)