Browse files

[1.0.X] Fixed #11102: corrected a 1.1-ism in the tutorial.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f4fce99 commit 4c79ef99c21086096aa7cf6a66be6c4d41d5678c @jacobian jacobian committed May 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/intro/tutorial03.txt
View
2 docs/intro/tutorial03.txt
@@ -87,7 +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)),
+ (r'^admin/(.*)', admin.site.root),
)
This is worth a review. When somebody requests a page from your Web site -- say,

0 comments on commit 4c79ef9

Please sign in to comment.