summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-12-14 08:56:30 -0500
committerTim Graham <timograham@gmail.com>2015-12-14 08:59:29 -0500
commit45ea00742b06393a76f2d553999a5c37e09dc7c3 (patch)
treeb38c9cb2b759e6012733b3283bb74ee0c7767456 /docs
parent3c69d5237796a79705bde3ab50137a0bf8c38b6e (diff)
[1.9.x] Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.
Backport of 4cd24bb67c8d82630817e97ab9ba444ca955a94d from master
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial04.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index 909a87381c..7c544b7436 100644
--- a/docs/intro/tutorial04.txt
+++ b/docs/intro/tutorial04.txt
@@ -241,6 +241,7 @@ First, open the ``polls/urls.py`` URLconf and change it like so:
from . import views
+ app_name = 'polls'
urlpatterns = [
url(r'^$', views.IndexView.as_view(), name='index'),
url(r'^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'),