Ticket #17460: HIDDEN_SETTINGS.patch

File HIDDEN_SETTINGS.patch, 490 bytes (added by daenney, 13 years ago)
  • debug.py

     
    1414from django.utils.importlib import import_module
    1515from django.utils.encoding import smart_unicode, smart_str
    1616
    17 HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE')
     17HIDDEN_SETTINGS = re.compile('TOKEN|PASS|KEY|SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE')
    1818
    1919CLEANSED_SUBSTITUTE = u'********************'
    2020
Back to Top