Skip to content

Commit

Permalink
Add creator to EventAdmin.raw_id_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpro committed Mar 29, 2024
1 parent 8aa6f87 commit 3fcc67b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schedule/admin.py
Expand Up @@ -52,6 +52,7 @@ class EventAdmin(admin.ModelAdmin):
ordering = ("-start",)
date_hierarchy = "start"
search_fields = ("title", "description")
raw_id_fields = ("creator",)
fieldsets = (
(
None,
Expand Down

0 comments on commit 3fcc67b

Please sign in to comment.