Ticket #13624: add_signature_hiding_to_docs.diff
File add_signature_hiding_to_docs.diff, 873 bytes (added by , 14 years ago) |
---|
-
docs/ref/settings.txt
494 494 495 495 If you define custom settings, `django/views/debug.py`_ has a ``HIDDEN_SETTINGS`` 496 496 regular expression which will hide from the DEBUG view anything that contains 497 ``'SECRET'``, ``'PASSWORD'``, or ``'PROFANITIES'``. This allows untrusted users to 498 be able to give backtraces without seeing sensitive (or offensive) settings. 497 ``'SECRET'``, ``'PASSWORD'``, ``'PROFANITIES'``, or ``'SIGNATURE'``. This allows 498 untrusted users to be able to give backtraces without seeing sensitive (or 499 offensive) settings. 499 500 500 501 Still, note that there are always going to be sections of your debug output that 501 502 are inappropriate for public consumption. File paths, configuration options, and