﻿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
18780	Set stacklevel when warning about depreciated function views	paulb@…	nickmartini	"It would be handy if the depreciation warning messages gave a clue as to the cause of warning. This can be done by adding severity to the warning.

Eg
  {{{#!python
#django.views.generic.simple.py

import warnings
warnings.warn(
    'Function-based generic views have been deprecated; use class-based views instead.',
    DeprecationWarning, stacklevel=2
)
}}}"	Cleanup/optimization	closed	Generic views	1.4	Normal	duplicate			Accepted	1	0	0	0	1	0
