﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18379	sensitive_variables handling fails for methods	Gabriel Hurley	Julien Phalip	"When attempting to decorate a class method with the ""sensitive_variables"" decorator (both with and without the ""method_decorator"" decorator) the expectation is that the variables will be properly filtered out.

However, that is not the case due to this line: https://github.com/django/django/blob/master/django/views/debug.py#L159

Since methods do not live in the global namespace, they're not found, and thereby the sensitive_variable stripping is bypassed.

This is non-obvious behavior and should either be documented or fixed to behave as expected."	Bug	closed	Core (Other)	1.4	Release blocker	fixed			Accepted	1	0	0	0	0	0
