summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorMahendra Yadav <mahendra.k12@gmail.com>2016-01-02 15:25:48 +0530
committerTim Graham <timograham@gmail.com>2016-01-02 09:39:42 -0500
commitd86870cb6c38dc82af25ce891303b9cd66328dd4 (patch)
treedea75b7646c9fe9e065d837eb43d46133e3960ae /docs/intro
parent237f72c9fe20a51421fd354ab10ff56968a1ce2f (diff)
[1.9.x] Added a missing import in tutorial 3.
Backport of e8c34bb832e88a3dec8c5f3f687bbbf62afb857c from master
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial03.txt2
1 files changed, 2 insertions, 0 deletions
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'),