Skip to content

Commit

Permalink
Fixed #22836 -- Linked tutorial05 to the right section of tutorial04.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Turcotte authored and timgraham committed Jun 20, 2014
1 parent b67e9ed commit 608aa8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/intro/tutorial04.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ First, open the ``polls/urls.py`` URLconf and change it like so:
url(r'^(?P<question_id>[0-9]+)/vote/$', views.vote, name='vote'),
]

.. _tutorial04-amend-views:

Amend views
-----------

Expand Down
2 changes: 1 addition & 1 deletion docs/intro/tutorial05.txt
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ Improving our view
The list of polls shows polls that aren't published yet (i.e. those that have a
``pub_date`` in the future). Let's fix that.

In :doc:`Tutorial 4 </intro/tutorial04>` we introduced a class-based view,
In :ref:`Tutorial 4 <tutorial04-amend-views>` we introduced a class-based view,
based on :class:`~django.views.generic.list.ListView`:

.. snippet::
Expand Down

0 comments on commit 608aa8d

Please sign in to comment.