Explorar o código

Added a missing import in tutorial 3.

Mahendra Yadav %!s(int64=9) %!d(string=hai) anos
pai
achega
e8c34bb832
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      docs/intro/tutorial03.txt

+ 2 - 0
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'),