From 50cb8e8daacbaf123a8baeac887337952a41f4b2 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 28 Nov 2021 22:11:44 +0530 Subject: [PATCH] Exclude some fields from the inline Person model --- app/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/admin.py b/app/admin.py index d00cac0..d0970ab 100644 --- a/app/admin.py +++ b/app/admin.py @@ -162,6 +162,7 @@ class RangeAdmin(admin.ModelAdmin): class PeopleOrganizationInline(admin.TabularInline): model = Person + exclude = ['source_id', 'organisation', 'field_indexer'] class OrganizationAdmin(admin.ModelAdmin):