From 068e38fb91abad6bdf66bb052d5700a537fb1f31 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 13 Jan 2022 10:54:03 +0530 Subject: [PATCH] Rearrange fields --- app/admin.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/admin.py b/app/admin.py index c2917a5..76faff0 100644 --- a/app/admin.py +++ b/app/admin.py @@ -157,12 +157,11 @@ class RangeAdmin(admin.ModelAdmin): fieldsets = ( (None, { 'fields': ( - ('gmba_v2_id', 'range_name', 'range_name_language', 'map_unit'), - ('range_name_map', 'select_300', 'gmba_narrow'), - ('range_name_ascii', 'GMBA_v1_id'), - ('latitude', 'longitude'), - ('mother_range', 'countries', 'wiki_data_id', 'wiki_data_url', 'area'), - 'feature', + ('gmba_v2_id', 'range_name', 'range_name_language'), + ('map_unit', 'feature', 'gmba_narrow', 'select_300'), + ('range_name_map', 'range_name_ascii', 'GMBA_v1_id'), + ('latitude', 'longitude', 'area'), + ('mother_range', 'countries', 'wiki_data_id', 'wiki_data_url'), 'source', 'id', )