view gpp/antispam/admin.py @ 416:aabee29cadac

As a follow up to r447, use jQuery to vertically align the model checkboxes.
author Brian Neal <bgneal@gmail.com>
date Sun, 10 Apr 2011 00:49:23 +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)