From 289c48561304ac025fbf90a36fd44ddadd596738 Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Thu, 9 Nov 2023 16:56:08 -0800 Subject: [PATCH] Allow user study sites to be updated in the admin interface --- primed/users/admin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/primed/users/admin.py b/primed/users/admin.py index 42016298..7d71a538 100644 --- a/primed/users/admin.py +++ b/primed/users/admin.py @@ -29,6 +29,10 @@ class UserAdmin(auth_admin.UserAdmin): }, ), (_("Important dates"), {"fields": ("last_login", "date_joined")}), + ( + _("PRIMED Info"), + {"fields": ("study_sites",)}, + ), ) list_display = ["username", "name", "is_superuser"] search_fields = ["name"]