Mercurial > public > sg101
comparison gpp/mailer/admin.py @ 180:aef00df91165
Implement #63, add a queued email facility.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 21 Mar 2010 20:33:33 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
179:70b2e307c866 | 180:aef00df91165 |
---|---|
1 """This file contains the automatic admin site definitions for the mailer | |
2 application.""" | |
3 from django.contrib import admin | |
4 | |
5 from mailer.models import Message | |
6 | |
7 | |
8 class MessageAdmin(admin.ModelAdmin): | |
9 list_display = ('from_address', 'to_address', 'subject', 'creation_date') | |
10 list_display_links = ('subject', ) | |
11 | |
12 | |
13 admin.site.register(Message, MessageAdmin) |