﻿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
12520	django.contrib.auth.forms.UserCreationForm.clean doesn't return cleaned_data dictionary	Gregor Müllegger	nobody	"The clean() method of django.contrib.auth.forms.UserCreationForm looks like this (trunk version)

{{{
    def clean(self):
        # Fill the password field so model validation won't complain about it
        # being blank. We'll set it with the real value below.
        self.instance.password = UNUSABLE_PASSWORD
        super(UserCreationForm, self).clean()
}}}

It is missing a return statement that returns the cleaned_data dictionary. Because of that the form.cleaned_data attribute will be None after validating the form.

I think this behaviour is not intended -- athorwise there would be a comment.
"		closed	Forms	1.2-alpha		fixed		gregor@…	Unreviewed	0	0	0	0	0	0
