summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-05 20:02:35 -0700
committerAndrew Godwin2022-12-05 20:02:35 -0700
commit9fe2e6676c32b93023ae301be587a8ab0d93120f (patch)
treecc1e144ed61785431a98019d6e62f283645bbd40 /takahe
parente2d28a4be08ccc629def8c85327b657b0bf36f90 (diff)
downloadtakahe-9fe2e6676c32b93023ae301be587a8ab0d93120f.tar.gz
takahe-9fe2e6676c32b93023ae301be587a8ab0d93120f.tar.bz2
takahe-9fe2e6676c32b93023ae301be587a8ab0d93120f.zip
Add a middleware to detect LD Accept headers
Diffstat (limited to 'takahe')
-rw-r--r--takahe/settings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/takahe/settings.py b/takahe/settings.py
index d46ec73..f263153 100644
--- a/takahe/settings.py
+++ b/takahe/settings.py
@@ -178,6 +178,7 @@ MIDDLEWARE = [
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"django_htmx.middleware.HtmxMiddleware",
+ "core.middleware.AcceptMiddleware",
"core.middleware.ConfigLoadingMiddleware",
"users.middleware.IdentityMiddleware",
]