Opened 5 years ago

Closed 5 years ago

#31336 closed New feature (duplicate)

Customizing HIDDEN_SETTINGS value.

Reported by: Nima Owned by:
Component: Error reporting Version: 3.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

One should be able to add more values or replace default values for this variable.

This variable resides in django.views.debug and has a static value assigned to it, therefore if someone wants to cleanse more settings keys while logging exceptions, should go through many troubles to achieve such functionality. But this behavior could be simply achieved if HIDDEN_SETTINGS was customizable.

Change History (2)

comment:1 by Nima, 5 years ago

Needs documentation: set

comment:2 by Mariusz Felisiak, 5 years ago

Needs documentation: unset
Resolution: duplicate
Status: newclosed
Summary: Customizing HIDDEN_SETTINGS value by setting HIDDEN_SETTINGS in settings moduleCustomizing HIDDEN_SETTINGS value.

It will be configurable in Django 3.1 (see release notes).

Duplicate of #23004.

Note: See TracTickets for help on using tickets.
Back to Top