﻿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
3009	Add a decorator for alters_data	gulopine@…	Adrian Holovaty	"It seems reasonable to me that functions which alter data should be able to use a decorator to denote that, rather than needing to set alters_data = True on a separate line ''after'' the function declaration. The following function, avaialble somewhere within Django, could be imported and used as a decorator to enable the alters_data functionality in a more understandable manner.

{{{
#!python
def alters_data(func):
    func.alters_data = True
    return func
}}}
"	enhancement	closed	Tools		normal	wontfix			Unreviewed	0	0	0	0	0	0
