projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d3bd3b
)
Show both start and end date for events in admin view
author
Magnus Hagander
<magnus@hagander.net>
Tue, 19 Mar 2013 15:05:53 +0000
(16:05 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 19 Mar 2013 15:25:17 +0000
(16:25 +0100)
Makes it easier to spot those that register events for a whole year...
pgweb/events/admin.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/events/admin.py
b/pgweb/events/admin.py
index e7a722f8c9c4983116f44c8c3ae6058782cc2221..dbf850bde5d3a4a7d6124dec726bd990dd71effd 100644
(file)
--- a/
pgweb/events/admin.py
+++ b/
pgweb/events/admin.py
@@
-28,7
+28,7
@@
class EventAdminForm(forms.ModelForm):
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, ]