From 0e280fb0efed8a29c7d4fdf94a66afff5783b6e8 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 26 Nov 2021 12:09:48 +0530 Subject: [PATCH] OrganizationAdmin: Relate id with org_num1 --- app/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin.py b/app/admin.py index 7ed1437..508ef5a 100644 --- a/app/admin.py +++ b/app/admin.py @@ -84,7 +84,7 @@ class RangeAdmin(admin.ModelAdmin): class OrganizationAdmin(admin.ModelAdmin): - readonly_fields = ('id',) + readonly_fields = ('org_num1',) search_fields = ['organisation_search', 'org_alpjha_search', 'organization_2', 'organization_3', 'subject'] fieldsets = ( (None, {