From 734c810cff8246ac3059e9f455bc5d08e0a831fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Wed, 12 Jul 2017 11:07:11 +0200 Subject: [PATCH] Making EventLocations a bit more usable. --- src/program/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/program/admin.py b/src/program/admin.py index 5bd11bf5..7fc11b05 100644 --- a/src/program/admin.py +++ b/src/program/admin.py @@ -27,7 +27,8 @@ class EventProposalAdmin(admin.ModelAdmin): @admin.register(EventLocation) class EventLocationAdmin(admin.ModelAdmin): - pass + list_filter = ('camp',) + list_display = ('name', 'camp') @admin.register(EventInstance)