err
This commit is contained in:
parent
40099d3cc5
commit
9cfbfb70de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user