[geany/www.geany.org] dcefe7: Silence warning of deprecated TEMPLATE_CONTEXT_PROCESSORS setting
Enrico Tröger
git-noreply at xxxxx
Wed Oct 28 22:21:37 UTC 2015
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Wed, 28 Oct 2015 22:21:37 UTC
Commit: dcefe7dd1e9eadbf93f154b93bee598e53632139
https://github.com/geany/www.geany.org/commit/dcefe7dd1e9eadbf93f154b93bee598e53632139
Log Message:
-----------
Silence warning of deprecated TEMPLATE_CONTEXT_PROCESSORS setting
While this setting is deprecated since Django 1.8, we still need to define it
for the current version of Mezzanine.
See https://github.com/stephenmcd/mezzanine/issues/1364.
Modified Paths:
--------------
geany/settings.py
Modified: geany/settings.py
9 lines changed, 9 insertions(+), 0 deletions(-)
===================================================================
@@ -273,6 +273,7 @@
},
},
]
+# compability for Mezzanine which still requires this setting
TEMPLATE_CONTEXT_PROCESSORS = TEMPLATES[0]['OPTIONS']['context_processors']
# List of finder classes that know how to find static files in
@@ -463,6 +464,14 @@
}
+###################
+# IGNORE WARNINGS #
+###################
+SILENCED_SYSTEM_CHECKS = (
+ '1_8.W001' # TEMPLATE_CONTEXT_PROCESSORS setting required for Mezzanine
+)
+
+
##################
# LOCAL SETTINGS #
##################
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list