Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 9e97fdf357381f257bad0c7d9ac3c7613d27ad64 1 parent 2c2871b
authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  docs/intro/tutorial03.txt
1  docs/intro/tutorial03.txt
@@ -87,6 +87,7 @@ Time for an example. Edit ``mysite/urls.py`` so it looks like this::
87 87
         (r'^polls/(?P<poll_id>\d+)/$', 'mysite.polls.views.detail'),
88 88
         (r'^polls/(?P<poll_id>\d+)/results/$', 'mysite.polls.views.results'),
89 89
         (r'^polls/(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote'),
  90
+        (r'^admin/', include(admin.site.urls)),
90 91
     )
91 92
 
92 93
 This is worth a review. When somebody requests a page from your Web site -- say,

0 notes on commit 9e97fdf

Please sign in to comment.
Something went wrong with that request. Please try again.