projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5fdeed
)
Add missing context processor
author
Magnus Hagander
<magnus@hagander.net>
Sun, 7 Nov 2021 15:11:41 +0000
(16:11 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 18 Nov 2021 13:21:42 +0000
(14:21 +0100)
Needed for some admin functionality, shows up as a warning in 3.2.
pgweb/settings.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/settings.py
b/pgweb/settings.py
index 4775f3231c1f7699c0e84cafd4d41b5b6d98bc87..0e39099b617519137998273857dbb14a170b598e 100644
(file)
--- a/
pgweb/settings.py
+++ b/
pgweb/settings.py
@@
-72,6
+72,7
@@
TEMPLATES = [{
'DIRS': ['templates', ],
'OPTIONS': {
'context_processors': [
+ 'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.media',