Mercurial > public > sg101
view antispam/admin.py @ 858:a4d685cdecdd
Update requirements files for Google API v3 Python client install.
Installed for new Calendar v3 API, issue #80.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 22 Nov 2014 13:33:21 -0600 |
parents | ee87ea74d46b |
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)