diff options
| author | Mahendra Yadav <mahendra.k12@gmail.com> | 2016-01-02 15:25:48 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-02 09:39:25 -0500 |
| commit | e8c34bb832e88a3dec8c5f3f687bbbf62afb857c (patch) | |
| tree | ff2c922f6a91d846b3fe80ac35ae0bacf99380e5 /docs/intro/tutorial03.txt | |
| parent | 3432f5d659bf926c96a7ede3304a4fda2bfea77d (diff) | |
Added a missing import in tutorial 3.
Diffstat (limited to 'docs/intro/tutorial03.txt')
| -rw-r--r-- | docs/intro/tutorial03.txt | 2 |
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'), |
