From 5a110cc7c9c7d27f2dcfb58fc9f1a2937916f377 Mon Sep 17 00:00:00 2001 From: Ali Zaidi Date: Wed, 9 Jun 2021 12:55:20 +0100 Subject: [PATCH] Configure django-audit-log-middleware. --- api/conf/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/conf/settings.py b/api/conf/settings.py index 048a0656f..633da6482 100644 --- a/api/conf/settings.py +++ b/api/conf/settings.py @@ -109,6 +109,7 @@ "health_check.cache", "health_check.storage", "health_check.contrib.migrations", + "django_audit_log_middleware", ] MIDDLEWARE = [ @@ -121,6 +122,7 @@ "whitenoise.middleware.WhiteNoiseMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", "api.conf.middleware.HawkSigningMiddleware", + "django_audit_log_middleware.AuditLogMiddleware", ] ROOT_URLCONF = "api.conf.urls"