From b089716073b917f90ad8554c8330650169e81869 Mon Sep 17 00:00:00 2001 From: Simon Kelly Date: Wed, 20 Sep 2023 12:28:17 +0200 Subject: [PATCH] add admin for connect ID user link --- commcare_connect/users/admin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commcare_connect/users/admin.py b/commcare_connect/users/admin.py index 0c4a5855..8aac1bb1 100644 --- a/commcare_connect/users/admin.py +++ b/commcare_connect/users/admin.py @@ -5,6 +5,7 @@ from commcare_connect.organization.models import Organization, UserOrganizationMembership from commcare_connect.users.forms import OrganizationCreationForm, UserAdminChangeForm, UserAdminCreationForm +from commcare_connect.users.models import ConnectIDUserLink User = get_user_model() @@ -56,3 +57,6 @@ class OrganizationAdmin(admin.ModelAdmin): search_fields = ["name"] ordering = ["name"] inlines = [UserOrganizationMembershipInline] + + +admin.site.register(ConnectIDUserLink)