diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-09-24 10:30:15 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-09-24 10:30:15 +0000 |
| commit | 8f7ab8efed0edbca69e117c67e2b33a5fbd18fbe (patch) | |
| tree | 8d9096458502433d7993787dd9c3165cfb356116 | |
| parent | 14993ece48fc6f03de02f23b3cc0d51d32b28229 (diff) | |
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
| -rw-r--r-- | django/views/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/debug.py b/django/views/debug.py index 6178bdb83b..a7f44d17b3 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -4,7 +4,7 @@ from django.utils.html import escape 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 |
