From 9cfbfb70de2550168017225c2ff3bd3cdb625548 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 25 Aug 2011 17:23:14 +0530 Subject: [PATCH] err --- gazetteer/places/admin.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gazetteer/places/admin.py b/gazetteer/places/admin.py index d6f99df..aa94fe6 100644 --- a/gazetteer/places/admin.py +++ b/gazetteer/places/admin.py @@ -41,10 +41,6 @@ class FeatureTypeFilter(SimpleListFilter): return queryset.filter(feature_type=val) -class PersonAdmin(ModelAdmin): - list_filter = (DecadeBornListFilter,) - - class FeatureNamesInline(admin.StackedInline): model = Name extra = 0 @@ -71,7 +67,7 @@ class FeatureAdmin(admin.OSMGeoAdmin): inlines = [FeatureNamesInline] list_display = ('__unicode__', 'feature_type_name', 'time_start', 'time_end',) list_per_page = 12 - list_filter = ('feature_type__feature_class',) + list_filter = (FeatureTypeFilter,) openlayers_url = 'http://openlayers.org/dev/OpenLayers.js' openlayers_img_path = None form = featuresForm