From: Andrew Donnellan Date: Thu, 27 Aug 2020 14:14:04 +0000 (+1000) Subject: settings: Add context processor django.template.context_processors.request X-Git-Tag: v3.0.0~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=490fe2bdc64765a0efda404236a8fbd5c9230347;p=thirdparty%2Fpatchwork.git settings: Add context processor django.template.context_processors.request Django 3.1 adds a new admin sidebar feature that requires the django.template.context_processors.request context processor to be enabled in the settings. Signed-off-by: Andrew Donnellan Reviewed-by: Stephen Finucane --- diff --git a/patchwork/settings/base.py b/patchwork/settings/base.py index 001878ac..c1bb9b27 100644 --- a/patchwork/settings/base.py +++ b/patchwork/settings/base.py @@ -57,6 +57,7 @@ TEMPLATES = [ 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', + 'django.template.context_processors.request', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages',