summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial03.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/intro/tutorial03.txt')
-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 93cd2eb4d2..ddce551642 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'),