From bd7860490a781a28beac7db1772386c01364b3e2 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 26 Nov 2021 12:29:59 +0530 Subject: [PATCH] Fix country name --- app/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin.py b/app/admin.py index c83cdfc..ef7bb96 100644 --- a/app/admin.py +++ b/app/admin.py @@ -86,7 +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'] + list_display = ['organisation_english', 'country', 'city'] fieldsets = ( (None, { 'fields': (