Skip to content

Commit

Permalink
[1.0.X] Added admin URLs back to the urls.py example in the tutorial …
Browse files Browse the repository at this point in the history
…- had a complaint from someone following the tutorial that they got to that step and the admin stopped working and they weren't sure why.

Merge of r10727.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
kmtracey committed May 13, 2009
1 parent 9e03bf2 commit cccfeaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/intro/tutorial03.txt
Expand Up @@ -87,6 +87,7 @@ Time for an example. Edit ``mysite/urls.py`` so it looks like this::
(r'^polls/(?P<poll_id>\d+)/$', 'mysite.polls.views.detail'), (r'^polls/(?P<poll_id>\d+)/$', 'mysite.polls.views.detail'),
(r'^polls/(?P<poll_id>\d+)/results/$', 'mysite.polls.views.results'), (r'^polls/(?P<poll_id>\d+)/results/$', 'mysite.polls.views.results'),
(r'^polls/(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote'), (r'^polls/(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote'),
(r'^admin/', include(admin.site.urls)),
) )


This is worth a review. When somebody requests a page from your Web site -- say, This is worth a review. When somebody requests a page from your Web site -- say,
Expand Down

0 comments on commit cccfeaa

Please sign in to comment.