Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid displaying the profanities list in the debug output. Makes it a…

… bit more

"safe for work".


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8f7ab8efed0edbca69e117c67e2b33a5fbd18fbe 1 parent 14993ec
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/debug.py
View
2  django/views/debug.py
@@ -4,7 +4,7 @@
from django.http import HttpResponseServerError, HttpResponseNotFound
import os, re
-HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD')
+HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD|PROFANITIES_LIST')
def linebreak_iter(template_source):
yield 0
Please sign in to comment.
Something went wrong with that request. Please try again.