Ticket #3195: django-hiddensettings.patch

File django-hiddensettings.patch, 579 bytes (added by cmgreen@…, 18 years ago)

possible patch for hidden settings documentation

  • docs/settings.txt

     
    328328
    329329A boolean that turns on/off debug mode.
    330330
     331If you define custom settings, django/views/debug.py has a
     332HIDDEN_SETTINGS regular expression which will hide from the DEBUG view
     333anything that matches ``'SECRET|PASSWORD|PROFANITIES_LIST'``.  Using this setting
     334allows untrusted users to be able to give backtraces without seeing
     335sensitive settings.
     336
     337
    331338DEFAULT_CHARSET
    332339---------------
    333340
Back to Top