diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2009-05-13 16:19:52 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2009-05-13 16:19:52 +0000 |
| commit | cccfeaaa180ecd5ee55e8d9d4dada8515ae11f7e (patch) | |
| tree | 2da9aa6407632cee3bb201213793ddeebe60ba45 /docs | |
| parent | 9e03bf2d47a3a6a8e743a385756b62908cab6b41 (diff) | |
[1.0.X] Added admin URLs back to the urls.py example in the tutorial - 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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/tutorial03.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index ca0b985508..53c2bcfcfc 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -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+)/results/$', 'mysite.polls.views.results'), (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, |
