Mercurial > public > sg101
view gpp/antispam/admin.py @ 227:423c39ee44e0
Rework the who's online middleware and template tag for #87.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 06 Jul 2010 03:02:20 +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)