Mercurial > public > sg101
comparison gpp/antispam/admin.py @ 214:28988cce138b
Implement #83: a string filter facility like NukeSeSentinel. It currently isn't hooked up to anything. Will do that in #84.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 14 May 2010 02:19:48 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
213:65016249bf35 | 214:28988cce138b |
---|---|
1 """Admin definitions for the antispam application.""" | |
2 | |
3 from django.contrib import admin | |
4 | |
5 from antispam.models import SpamPhrase | |
6 | |
7 | |
8 class SpamPhraseAdmin(admin.ModelAdmin): | |
9 search_fields = ('phrase', ) | |
10 | |
11 | |
12 admin.site.register(SpamPhrase, SpamPhraseAdmin) |