Skip to content

Commit

Permalink
Merge pull request #271 from UW-GAC/feature/user-study-site-in-admin
Browse files Browse the repository at this point in the history
Allow user study sites to be updated in the admin interface
  • Loading branch information
amstilp authored Nov 13, 2023
2 parents b481930 + 289c485 commit 22eb033
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions primed/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 22eb033

Please sign in to comment.