bgneal@180: """This file contains the automatic admin site definitions for the mailer bgneal@180: application.""" bgneal@180: from django.contrib import admin bgneal@180: bgneal@180: from mailer.models import Message bgneal@180: bgneal@180: bgneal@180: class MessageAdmin(admin.ModelAdmin): bgneal@180: list_display = ('from_address', 'to_address', 'subject', 'creation_date') bgneal@180: list_display_links = ('subject', ) bgneal@180: bgneal@180: bgneal@180: admin.site.register(Message, MessageAdmin)