diff options
author | luxagraf <sng@luxagraf.net> | 2016-01-19 16:12:56 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-01-19 16:12:56 -0500 |
commit | cd5b77cc2a23c6aa47e4253ff589218747cd5cb5 (patch) | |
tree | 02f8e8e2408491ac7901070f1bd2523fb6eebc33 /app/daily/admin.py | |
parent | 6f7dddb428ca4db098ffbf65570db6c41109515d (diff) |
Cleaned up daily admin and added some filters
Diffstat (limited to 'app/daily/admin.py')
-rw-r--r-- | app/daily/admin.py | 4 |
1 files changed, 4 insertions, 0 deletions
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, { |