view gpp/antispam/admin.py @ 525:a053fbd3ac98

For #194, create a task to run the queued_search's process_search_queue command periodically.
author Brian Neal <bgneal@gmail.com>
date Mon, 19 Dec 2011 01:11:43 +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)