[geany/www.geany.org] fd99ff: Ignore Mezzanine PageDown future warning
Enrico Tröger
git-noreply at xxxxx
Sun Jun 16 21:20:56 UTC 2019
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 16 Jun 2019 21:20:56 UTC
Commit: fd99ff2011b5bc6b83c818440e17d8e00f32ae10
https://github.com/geany/www.geany.org/commit/fd99ff2011b5bc6b83c818440e17d8e00f32ae10
Log Message:
-----------
Ignore Mezzanine PageDown future warning
We cannot fix the reason for the warning, so we silence it.
Modified Paths:
--------------
geany/settings.py
Modified: geany/settings.py
11 lines changed, 10 insertions(+), 1 deletions(-)
===================================================================
@@ -16,6 +16,7 @@
import logging
import os
+import warnings
from django.utils.translation import ugettext_lazy as _
@@ -576,7 +577,15 @@
###################
SILENCED_SYSTEM_CHECKS = (
)
-
+# ignore warnings we cannot fix:
+# FutureWarning: mezzanine/core/templatetags/mezzanine_tags.py:492:
+# mezzanine_pagedown.filters.custom needs to ensure that any untrusted inputs are properly escaped
+warnings.filterwarnings(
+ action='ignore',
+ message='^mezzanine_pagedown.filters.custom needs to ensure that any untrusted inputs.*',
+ category=FutureWarning,
+ module='mezzanine.core.templatetags.mezzanine_tags',
+ lineno=492)
##################
# 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