Code

Ticket #13624: #hide_traceback_signature.diff

File #hide_traceback_signature.diff, 361 bytes (added by Kronuz, 4 years ago)
Line 
1--- django/views/debug.py       (revision 13301)
2+++ django/views/debug.py       (working copy)
3@@ -12,7 +12,7 @@
4 from django.utils.encoding import smart_unicode, smart_str
5 
6 
7-HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD|PROFANITIES_LIST')
8+HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE')
9 
10 def linebreak_iter(template_source):
11     yield 0