﻿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
15720	typo leading to NoReverseMatch	antonovga@…	nobody	"Hi,
in doc about auth near login_required decorator there is a typo in sample code of login.html template


{{{
<form method=""post"" action=""{% url 'django.contrib.auth.views.login' %}"">
}}}


should be


{{{
<form method=""post"" action=""{% url django.contrib.auth.views.login %}"">

}}}

p.s.

as for django newbie it's really hard to understand why i should place in template_dirs(settings.py) a path(_full_ path!) to login.html, while it is _in_ ""project"" directory and should be visible by default(ok i hear about you want to be explicit, but hey, why templates dir is default to templates then?). Without putting it in setting.py auth will throw exception ""no template found"".
Please point out, that user should write project template directory in the settings.py file.

p.p.s.

It will be  great if you write (or place link to if it exist) really simple hello world app with login/logout, showing how it works, not only pieces scattered through doc page. It will save a lot of time for newbies."		closed	Documentation	1.3		invalid			Unreviewed	0	0	0	0	0	0
