Permalink
Browse files

Show both start and end date for events in admin view

Makes it easier to spot those that register events for a whole year...
  • Loading branch information...
mhagander committed Mar 19, 2013
1 parent 9d3bd3b commit 84abe6208ed22dda456e1388d930c23acc7f5bcd
Showing with 1 addition and 1 deletion.
  1. +1 −1 pgweb/events/admin.py
View
@@ -28,7 +28,7 @@ def clean(self):
return cleaned_data
class EventAdmin(PgwebAdmin):
- list_display = ('title', 'org', 'startdate', 'training', 'approved',)
+ list_display = ('title', 'org', 'startdate', 'enddate', 'training', 'approved',)
list_filter = ('approved','training',)
search_fields = ('summary', 'details', 'title', )
actions = [approve_event, ]

0 comments on commit 84abe62

Please sign in to comment.