From 9e97fdf357381f257bad0c7d9ac3c7613d27ad64 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 9 May 2009 15:52:17 +0000 Subject: [PATCH] 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 git-svn-id: http://code.djangoproject.com/svn/django/trunk@10727 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/intro/tutorial03.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index ca0b985508c..53c2bcfcfc9 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\d+)/$', 'mysite.polls.views.detail'), (r'^polls/(?P\d+)/results/$', 'mysite.polls.views.results'), (r'^polls/(?P\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,