From 9fe2e6676c32b93023ae301be587a8ab0d93120f Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Mon, 5 Dec 2022 20:02:35 -0700 Subject: Add a middleware to detect LD Accept headers --- takahe/settings.py | 1 + 1 file changed, 1 insertion(+) (limited to 'takahe') 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", ] -- cgit v1.2.3