From b75a1af0d28369cbc7dbe6558837ca1f1b2644b5 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 31 Aug 2011 01:33:57 +0530 Subject: [PATCH] reorder fields in Feature admin --- gazetteer/places/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gazetteer/places/admin.py b/gazetteer/places/admin.py index 397cc55..b615a7f 100644 --- a/gazetteer/places/admin.py +++ b/gazetteer/places/admin.py @@ -71,6 +71,7 @@ class featuresForm(forms.ModelForm): class FeatureAdmin(admin.OSMGeoAdmin): + fields = ('preferred_name', 'feature_type', 'admin1', 'admin2', 'geometry', 'url', 'authority_record', 'time_frame', 'is_primary',) search_fields = ['preferred_name'] # list_filter = ('feature_type',) inlines = [FeatureNamesInline]