view gpp/antispam/admin.py @ 494:3800f3bcf4a8

Changed to HMTL5 in base template.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Nov 2011 15:54: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)