Ticket #17460: HIDDEN_SETTINGS.patch
File HIDDEN_SETTINGS.patch, 490 bytes (added by , 13 years ago) |
---|
-
debug.py
14 14 from django.utils.importlib import import_module 15 15 from django.utils.encoding import smart_unicode, smart_str 16 16 17 HIDDEN_SETTINGS = re.compile(' SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE')17 HIDDEN_SETTINGS = re.compile('TOKEN|PASS|KEY|SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE') 18 18 19 19 CLEANSED_SUBSTITUTE = u'********************' 20 20