Mercurial > public > sg101
view gpp/antispam/admin.py @ 537:eac0ce5e137d
Added a "fix-mode" for the potd comment importer command such that it
will only create comments if they don't already exist.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 31 Dec 2011 22:21:58 +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)