﻿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
31729	The documentation for ArchiveIndexView is not clear for new developers.	Kenneth Prabakaran	nobody	"{{{
path('archive/',
         ArchiveIndexView.as_view(model=Article, date_field=""pub_date""),
         name=""article_archive""),
}}}
where the only mentioned parameters are model and pub_date, and the name for the template. But using this above code does lead to an error saying template not found. Where the main problem is we are supposed to 
{{{
path('archive/',
         ArchiveIndexView.as_view(model=Article, date_field=""pub_date"", template_name=""article_archive.html""),
         ),
}}}
mention the template_name as paramter for the as_view function. I know it might be silly to just look into the class and find the attribute ""template_name"" but for new comers trying to implement this might think they made a mistake somewhere else since the path was taking in the name of the template.
So please do mention in the documentation"	Uncategorized	closed	Documentation	3.0	Normal	invalid			Unreviewed	0	0	0	0	1	0
