From 31333355f04b99c99e2fa61a1860f3960fd88c4b Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 27 Mar 2014 18:24:38 +0100 Subject: Added more years to room admin list filter. --- meetingtools/apps/room/admin.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meetingtools') diff --git a/meetingtools/apps/room/admin.py b/meetingtools/apps/room/admin.py index d0cc74c..e8f3cfc 100644 --- a/meetingtools/apps/room/admin.py +++ b/meetingtools/apps/room/admin.py @@ -16,6 +16,9 @@ class YearLastVisitedFilter(admin.SimpleListFilter): def lookups(self, request, model_admin): return ( ('None', 'None'), + ('2009', '2009'), + ('2010', '2010'), + ('2011', '2011'), ('2012', '2012'), ('2013', '2013'), ('2014', '2014'), -- cgit v1.1