From 0c67407b214857c95f79931ad7990acb130ffffe Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 26 Nov 2021 12:26:51 +0530 Subject: [PATCH] Add list_display to OrganizationAdmin --- app/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/admin.py b/app/admin.py index 420e0b8..c83cdfc 100644 --- a/app/admin.py +++ b/app/admin.py @@ -86,6 +86,7 @@ class RangeAdmin(admin.ModelAdmin): class OrganizationAdmin(admin.ModelAdmin): readonly_fields = ('org_num1',) search_fields = ['organisation_search', 'org_alpha_search', 'organisation_2', 'organisation_3', 'subject'] + list_display = ['organisation_english', 'country__formal_name', 'city'] fieldsets = ( (None, { 'fields': (