Skip to content

Commit

Permalink
Ignore Mezzanine PageDown future warning
Browse files Browse the repository at this point in the history
We cannot fix the reason for the warning, so we silence it.
  • Loading branch information
eht16 committed Jun 16, 2019
1 parent 5b41c00 commit fd99ff2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion geany/settings.py
Expand Up @@ -16,6 +16,7 @@

import logging
import os
import warnings

from django.utils.translation import ugettext_lazy as _

Expand Down Expand Up @@ -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 #
Expand Down

0 comments on commit fd99ff2

Please sign in to comment.