view gpp/antispam/admin.py @ 297:69498a43e636

Fixing #137; added a 'time-ago' timestamp to the template tags that display the latest web links and downloads.
author Brian Neal <bgneal@gmail.com>
date Sun, 09 Jan 2011 21:16:08 +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)