From cd5b77cc2a23c6aa47e4253ff589218747cd5cb5 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 19 Jan 2016 16:12:56 -0500 Subject: Cleaned up daily admin and added some filters --- app/daily/admin.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/daily/admin.py') diff --git a/app/daily/admin.py b/app/daily/admin.py index 3ef76c0..8eea850 100644 --- a/app/daily/admin.py +++ b/app/daily/admin.py @@ -12,6 +12,10 @@ class WeatherAdmin(OSMGeoAdmin): class DailyAdmin(OSMGeoAdmin): list_display = ('date', 'location') + list_filter = ( + 'date', + ('location', admin.RelatedOnlyFieldListFilter), + ) form = LGEntryForm fieldsets = ( (None, { -- cgit v1.2.3-70-g09d2