Temporarily disable alert_words markdown processor on staging

(imported from commit ab3eed4ce36ebcd3d928d2d92fc34c9ebacc11f9)
This commit is contained in:
Leo Franchi 2013-09-06 13:39:26 -04:00
parent a6dc890686
commit 7b375634f9
1 changed files with 3 additions and 1 deletions

View File

@ -612,6 +612,8 @@ class Bugdown(markdown.Extension):
'strong'):
del md.inlinePatterns[k]
# Temporarily disable alert words on staging to help track down postgres transation quirkiness
if not settings.STAGING_DEPLOYED:
md.preprocessors.add("custom_text_notifications", AlertWordsNotificationProcessor(md), "_end")
# Custom bold syntax: **foo** but not __foo__