Files @ d73018440a4d
Branch filter:

Location: website/www/conservancy/apps/events/

Initial hack at a fundraising goal application.

This simple application will simply store the code name and the to goal
of each fundraiser. The so_far number will likely just be updated by
some external script, modifying the appropriate entry in the SQL
from django.contrib import admin
from models import EventTag, Event, EventMedia

class EventAdmin(admin.ModelAdmin):
    list_display = ("title", "date", "date_tentative", "location")
    list_filter = ['date']
    date_hierarchy = 'date'
    search_fields = ["title", "description", "earth_location"]
    prepopulated_fields = {'slug' : ("title",) }, EventAdmin)

class EventMediaAdmin(admin.ModelAdmin):
    list_display = ("event", "format", "novel"), EventMediaAdmin)