Ticket #14432: tutorial03.patch

File tutorial03.patch, 488 bytes (added by Andrews Medina, 14 years ago)
  • docs/intro/tutorial03.txt

     
    502502URLconf by removing the leading "polls/" from each line, and removing the
    503503lines registering the admin site::
    504504
     505    from django.conf.urls.defaults import *
     506
    505507    urlpatterns = patterns('polls.views',
    506508        (r'^$', 'index'),
    507509        (r'^(?P<poll_id>\d+)/$', 'detail'),
Back to Top