Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 84abe6208ed22dda456e1388d930c23acc7f5bcd 1 parent 9d3bd3b
@mhagander mhagander authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pgweb/events/admin.py
View
2  pgweb/events/admin.py
@@ -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, ]
Please sign in to comment.
Something went wrong with that request. Please try again.