Ticket #13623: 13623.diff

File 13623.diff, 560 bytes (added by zerok, 5 years ago)
  • docs/intro/tutorial03.txt

    diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
    index 0e09693..024d396 100644
    a b Copy the file ``mysite/urls.py`` to ``mysite/polls/urls.py``. Then, change 
    476476``mysite/urls.py`` to remove the poll-specific URLs and insert an
    477477:func:`~django.conf.urls.defaults.include`::
    478478
     479    # This also imports the include function
     480    from django.conf.urls.defaults import *
     481
    479482    # ...
    480483    urlpatterns = patterns('',
    481484        (r'^polls/', include('mysite.polls.urls')),
Back to Top