﻿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
29604	Problem in views.py file: args used for positional argument	Rajdeep Bharati	nobody	"[https://docs.djangoproject.com/en/2.0/intro/tutorial04/]

The problem is in views.py file in the tutorial documentation:

{{{
return HttpResponseRedirect(reverse('polls:results', args=(question.id,)))
}}}

Now args is used for positional arguments, and there can be (in theory) multiple. So it should be a collection of items. For example:

{{{
return HttpResponseRedirect(reverse('polls:results', args=[question_id], ))
}}}
"	Bug	closed	Documentation	2.0	Normal	invalid			Unreviewed	0	0	0	0	0	0
