reorder fields in Feature admin
This commit is contained in:
parent
9280f70546
commit
b75a1af0d2
|
@ -71,6 +71,7 @@ class featuresForm(forms.ModelForm):
|
||||||
|
|
||||||
|
|
||||||
class FeatureAdmin(admin.OSMGeoAdmin):
|
class FeatureAdmin(admin.OSMGeoAdmin):
|
||||||
|
fields = ('preferred_name', 'feature_type', 'admin1', 'admin2', 'geometry', 'url', 'authority_record', 'time_frame', 'is_primary',)
|
||||||
search_fields = ['preferred_name']
|
search_fields = ['preferred_name']
|
||||||
# list_filter = ('feature_type',)
|
# list_filter = ('feature_type',)
|
||||||
inlines = [FeatureNamesInline]
|
inlines = [FeatureNamesInline]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user