﻿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
11389	contrib.auth.login should allow to replace AuthenticationForm	anonymous	nobody	"Hello,

I'm using django for quite some time. For the first time I needed a custom login (other fields besides login and password) and also a custom auth backend.

I had to do a custom login with is basically a copy of contrib.auth.views.login with AuthenticationForm replaced by my own form.

The definition of contrib.auth.views.login should be:
def login(request, template_name='registration/login.html', redirect_field_name=REDIRECT_FIELD_NAME, authentication_form=AuthenticationForm):

so we could just define on urls.py with form class we would like to use.
"		closed	contrib.auth	dev		duplicate			Unreviewed	0	0	0	0	0	0
