From 9cba842a18e1e8be1d729f1e651f16bbf8ca4ef8 Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 17 Jan 2022 23:14:09 +0530 Subject: [PATCH] PersonAdmin: Move profile_on_web and newsletter to the top --- app/admin.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/admin.py b/app/admin.py index f653ee4..4681234 100644 --- a/app/admin.py +++ b/app/admin.py @@ -27,7 +27,7 @@ class PersonAdmin(admin.ModelAdmin): fieldsets = ( (None, { 'fields': ( - ('id'), + ('id', 'profile_on_web', 'news_letter'), ('mr_mrs', 'title','full_name', 'position'), ('first_name', 'last_name', 'search_name', 'status'), ('contact_email', 'email_2', 'skype', 'professional_phone'), @@ -55,12 +55,12 @@ class PersonAdmin(admin.ModelAdmin): }), ('Others', { 'classes': ('collapse',), - 'fields': ('orcid', 'web_of_science', 'twitter', 'instagram', 'updated', - ('news_letter', 'profile_on_web'), - 'entry_date', - 'country', - 'gmba_function' - ), + 'fields': ( + 'orcid', 'web_of_science', 'twitter', 'instagram', 'updated', + 'entry_date', + 'country', + 'gmba_function' + ), }), ) list_display = ['id', 'full_name', 'organization']