[1.9.x] Added a missing import in tutorial 3.

Backport of e8c34bb832e88a3dec8c5f3f687bbbf62afb857c from master
This commit is contained in:
Mahendra Yadav 2016-01-02 15:25:48 +05:30 committed by Tim Graham
parent 237f72c9fe
commit d86870cb6c

View File

@ -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'),