summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'),