Skip to content

Commit

Permalink
chore(sample_project): add crum middleware to settings
Browse files Browse the repository at this point in the history
fixes an issue where signal provided in PR #1074 doesnt trigger
correctly
  • Loading branch information
sennierer authored and b1rger committed Aug 29, 2024
1 parent 50a2af1 commit 65a0dfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sample_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"crum.CurrentRequestUserMiddleware",
]

# ROOT_URLCONF = "apis_core.urls"
Expand Down

0 comments on commit 65a0dfb

Please sign in to comment.