From 3fcc67bc5c854e34122ed9210ff0ce4b3211327c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20Meza=20Cabrera?= Date: Fri, 29 Mar 2024 16:54:02 -0600 Subject: [PATCH] Add creator to EventAdmin.raw_id_fields --- schedule/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/schedule/admin.py b/schedule/admin.py index 2423d453..69ea0796 100644 --- a/schedule/admin.py +++ b/schedule/admin.py @@ -52,6 +52,7 @@ class EventAdmin(admin.ModelAdmin): ordering = ("-start",) date_hierarchy = "start" search_fields = ("title", "description") + raw_id_fields = ("creator",) fieldsets = ( ( None,