Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 4c79ef99c21086096aa7cf6a66be6c4d41d5678c 1 parent f4fce99
@jacobian jacobian authored
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,
Please sign in to comment.
Something went wrong with that request. Please try again.