From 608aa8d101b03004ed2181fac82d8f3d28253bbd Mon Sep 17 00:00:00 2001 From: Maxime Turcotte Date: Thu, 19 Jun 2014 21:46:18 -0400 Subject: [PATCH] Fixed #22836 -- Linked tutorial05 to the right section of tutorial04. --- docs/intro/tutorial04.txt | 2 ++ docs/intro/tutorial05.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index dc6f621ff33..59b0b8e81a4 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -233,6 +233,8 @@ First, open the ``polls/urls.py`` URLconf and change it like so: url(r'^(?P[0-9]+)/vote/$', views.vote, name='vote'), ] +.. _tutorial04-amend-views: + Amend views ----------- diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index a2b1ba1f0f3..24a7b29807a 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -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 ` we introduced a class-based view, +In :ref:`Tutorial 4 ` we introduced a class-based view, based on :class:`~django.views.generic.list.ListView`: .. snippet::