Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[1.2.X] Fixed #13623 - code in intro-tutorial03 missing an import sta…


Thanks to, AMJ for the report, and to zerok/timo for
the patch.

Backport of [13847] from trunk

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b176bd4f1e626827899514c5552c41d4ac1453c6 1 parent 93e8354
@spookylukey spookylukey authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/intro/tutorial03.txt
4 docs/intro/tutorial03.txt
@@ -474,10 +474,14 @@ Copy the file ``mysite/`` to ``mysite/polls/``. Then, change
``mysite/`` to remove the poll-specific URLs and insert an
+ # This also imports the include function
+ from django.conf.urls.defaults import *
# ...
urlpatterns = patterns('',
(r'^polls/', include('mysite.polls.urls')),
# ...
+ )
:func:`~django.conf.urls.defaults.include`, simply, references another URLconf.
Note that the regular expression doesn't have a ``$`` (end-of-string match

0 comments on commit b176bd4

Please sign in to comment.
Something went wrong with that request. Please try again.