Clarified "same as above" tutorial comment.
This commit is contained in:
parent
917cc288a3
commit
ca4afc77db
|
@ -290,7 +290,7 @@ views and use Django's generic views instead. To do so, open the
|
||||||
|
|
||||||
|
|
||||||
def vote(request, question_id):
|
def vote(request, question_id):
|
||||||
... # same as above
|
... # same as above, no changes needed.
|
||||||
|
|
||||||
We're using two generic views here:
|
We're using two generic views here:
|
||||||
:class:`~django.views.generic.list.ListView` and
|
:class:`~django.views.generic.list.ListView` and
|
||||||
|
|
Loading…
Reference in New Issue