diff options
author | Andrew Donnellan <ajd@linux.ibm.com> | 2020-08-28 00:14:04 +1000 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-08-28 00:14:04 +1000 |
commit | 490fe2bdc64765a0efda404236a8fbd5c9230347 (patch) | |
tree | 481813a964ba052b8dab92dae3b0bc2262566c6f | |
parent | 24debb57218de2edfa6eefdb81dceef70acfcd32 (diff) | |
download | patchwork-490fe2bdc64765a0efda404236a8fbd5c9230347.tar patchwork-490fe2bdc64765a0efda404236a8fbd5c9230347.tar.gz |
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 <ajd@linux.ibm.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
-rw-r--r-- | patchwork/settings/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/patchwork/settings/base.py b/patchwork/settings/base.py index 001878a..c1bb9b2 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', |