From ebe579a86bfe0d75dbef03281d43a2cf10a2e5fe Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 19 Feb 2013 12:45:04 +0100 Subject: Admin: improve marker list with dates fields --- chimere/admin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chimere') diff --git a/chimere/admin.py b/chimere/admin.py index 996dfd5..6c7b2cc 100644 --- a/chimere/admin.py +++ b/chimere/admin.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2008-2012 Étienne Loks +# Copyright (C) 2008-2013 Étienne Loks # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as @@ -181,8 +181,8 @@ class MarkerAdmin(admin.ModelAdmin): Specialized the Point field. """ search_fields = ("name",) - list_display = ('name', 'status') - list_filter = ('status', 'categories') + list_display = ('name', 'status', 'start_date', 'end_date') + list_filter = ('status', 'categories', 'start_date', 'end_date') actions = [validate, disable, managed_modified, export_to_kml, export_to_shapefile, export_to_csv] exclude = ['submiter_session_key', 'import_key', 'import_version', -- cgit v1.2.3