Ticket #13623: 13623.2.diff
File 13623.2.diff, 685 bytes (added by , 14 years ago) |
---|
-
intro/tutorial03.txt
474 474 ``mysite/urls.py`` to remove the poll-specific URLs and insert an 475 475 :func:`~django.conf.urls.defaults.include`:: 476 476 477 # This also imports the include function 478 from django.conf.urls.defaults import * 479 477 480 # ... 478 481 urlpatterns = patterns('', 479 482 (r'^polls/', include('mysite.polls.urls')), 480 483 # ... 484 ) 481 485 482 486 :func:`~django.conf.urls.defaults.include`, simply, references another URLconf. 483 487 Note that the regular expression doesn't have a ``$`` (end-of-string match