annotate gpp/mailer/admin.py @ 184:4e1abeb593c2

Updating jQuery and jQuery UI. This is for ticket #57. Noticed GCalendar wasn't opening the datepicker on the correct date until I set a dateFormat option. Fixed member map to undisable the update button if you type in a location that can't be geocoded.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 22:19:08 +0000
parents aef00df91165
children
rev   line source
bgneal@180 1 """This file contains the automatic admin site definitions for the mailer
bgneal@180 2 application."""
bgneal@180 3 from django.contrib import admin
bgneal@180 4
bgneal@180 5 from mailer.models import Message
bgneal@180 6
bgneal@180 7
bgneal@180 8 class MessageAdmin(admin.ModelAdmin):
bgneal@180 9 list_display = ('from_address', 'to_address', 'subject', 'creation_date')
bgneal@180 10 list_display_links = ('subject', )
bgneal@180 11
bgneal@180 12
bgneal@180 13 admin.site.register(Message, MessageAdmin)