Mercurial > public > madeira
view madeira/email_list/admin.py @ 52:7f9e76e7eb4d
For issue #7, another commit for a mailing list application.
In this commit we add to the tests to check for the confirmation email.
Also realized the request coming from the email is a GET, not a POST.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 29 Mar 2012 20:01:13 -0500 |
parents | 13b2561c909d |
children | 9b40a8d300a4 |
line wrap: on
line source
""" Automatic admin definitions for the email_list application. """ from django.contrib import admin from email_list.models import Subscriber class SubscriberAdmin(admin.ModelAdmin): list_display = ['__unicode__', 'location', 'status'] list_filter = ['status'] search_fields = ['name', 'email'] admin.site.register(Subscriber, SubscriberAdmin)