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 +++--- debian/pydist-overrides | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) 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', diff --git a/debian/pydist-overrides b/debian/pydist-overrides index 753bbf5..0d69808 100644 --- a/debian/pydist-overrides +++ b/debian/pydist-overrides @@ -1,3 +1,2 @@ django_tinymce tinymce pil python-imaging -django_extensions python-django -- cgit v1.2.3