From 8b1722d1f00b9d99887a103eca7cd5bad898b556 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 8 May 2024 12:48:10 -0400 Subject: [PATCH] membershipworks: Hide `EventExt.registrations` from admin --- membershipworks/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/membershipworks/admin.py b/membershipworks/admin.py index 277a3da..d566371 100644 --- a/membershipworks/admin.py +++ b/membershipworks/admin.py @@ -139,7 +139,7 @@ class EventAdmin(DjangoObjectActions, admin.ModelAdmin): show_facets = admin.ShowFacets.ALWAYS search_fields = ["eid", "title", "url"] date_hierarchy = "start" - exclude = ["url", "details"] + exclude = ["url", "details", "registrations"] autocomplete_fields = ["instructor"] change_actions = ["fetch_details"] actions = ["fetch_details"]