From d86870cb6c38dc82af25ce891303b9cd66328dd4 Mon Sep 17 00:00:00 2001 From: Mahendra Yadav Date: Sat, 2 Jan 2016 15:25:48 +0530 Subject: [PATCH] [1.9.x] Added a missing import in tutorial 3. Backport of e8c34bb832e88a3dec8c5f3f687bbbf62afb857c from master --- docs/intro/tutorial03.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 2a6708f37b..ef2ad2dbef 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -450,6 +450,8 @@ file, go ahead and add an ``app_name`` to set the application namespace: from django.conf.urls import url + from . import views + app_name = 'polls' urlpatterns = [ url(r'^$', views.index, name='index'),