﻿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
26259	Form.cleaned_data should call is_valid() if necessary	Thomas Güttler	nobody	"We stumbled over this code:

{{{
    form.is_valid()
    if form.cleaned_data.get('cancel'):
        ...
}}}
We did not understand why `form.is_valid()` is necessary.

It seems that `form.cleaned_data` is not a property, you need to call `is_valid()` first.

It would be nice if `Form.cleaned_data` is be a property, this way the following code would just work:

{{{
    if form.cleaned_data.get('cancel'):
        ...
}}}

"	New feature	closed	Forms	1.9	Normal	wontfix			Unreviewed	0	0	0	0	0	0
