Line missing in Tutorial, p.4
|Reported by:||profete||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In the section "Amend views" part 4 of the tutorial on first app on 1.6 (https://docs.djangoproject.com/en/1.6/intro/tutorial04/), I think there is one line missing for the file views.py.
template_name = 'polls/index.html'
context_object_name = 'latest_poll_list'
But, I think the line "model = Poll" is missing. It gives me an error if I don't include it.