Mercurial > public > sg101
view gpp/antispam/admin.py @ 580:c525f3e0b5d0
Use the static() function to serve MEDIA files in development.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 May 2012 15:08:07 -0500 |
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)