Commit 4cd24bb6 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.

parent 5005b527
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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'),