Skip to content

Commit

Permalink
fix(settings): add HistoryRequestMiddleware
Browse files Browse the repository at this point in the history
Closes: #93
  • Loading branch information
b1rger committed Dec 11, 2024
1 parent ce4e839 commit 7e66df2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis_acdhch_default_settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"csp.middleware.CSPMiddleware",
"crum.CurrentRequestUserMiddleware",
# this is used by the apis_core.history module:
"simple_history.middleware.HistoryRequestMiddleware",
]

# https://docs.djangoproject.com/en/stable/ref/settings/#root-urlconf
Expand Down

0 comments on commit 7e66df2

Please sign in to comment.