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[0-9]+)/$', views.DetailView.as_view(), name='detail'),