﻿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
6581	django.contrib.auth.views.redirect_to_login isn't a view	steve_cassidy51	nobody	"The documentation lists redirect_to_login as a view alongside password_change etc but the definition doesn't take a 'request' first argument and so doesn't work properly as a view. Eg. if I use it in urls.py: 

{{{
 (r'^$', 'django.contrib.auth.views.redirect_to_login', {'next': '/something'})...
}}}

then I get an error that 'next' is provided twice since the first arg supplied to the view
is the request object.  If I leave out 'next' then I get a huge long URL in the redirect that contains the entire request serialised.  

So, either this should be made into a view with the addition of the request parameter or it should be removed from the list of views in the documentation.

"	Cleanup/optimization	closed	contrib.auth	dev	Normal	fixed	auth redirect_to_login		Ready for checkin	1	1	0	1	0	0
