diff options
| author | Tim Graham <timograham@gmail.com> | 2015-12-14 08:56:30 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-14 08:56:30 -0500 |
| commit | 4cd24bb67c8d82630817e97ab9ba444ca955a94d (patch) | |
| tree | d99c20b3c346ab6251c94981547f9dd87ffe7044 /docs/intro/tutorial04.txt | |
| parent | 5005b527cb9c7a2bfc76daa7f717bf7e3064e9ce (diff) | |
Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.
Diffstat (limited to 'docs/intro/tutorial04.txt')
| -rw-r--r-- | docs/intro/tutorial04.txt | 1 |
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'), |
