Code

Ticket #13623: 13623.diff

File 13623.diff, 560 bytes (added by zerok, 4 years ago)
Line 
1diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
2index 0e09693..024d396 100644
3--- a/docs/intro/tutorial03.txt
4+++ b/docs/intro/tutorial03.txt
5@@ -476,6 +476,9 @@ Copy the file ``mysite/urls.py`` to ``mysite/polls/urls.py``. Then, change
6 ``mysite/urls.py`` to remove the poll-specific URLs and insert an
7 :func:`~django.conf.urls.defaults.include`::
8 
9+    # This also imports the include function
10+    from django.conf.urls.defaults import *
11+
12     # ...
13     urlpatterns = patterns('',
14         (r'^polls/', include('mysite.polls.urls')),