Author: simon
Date: 2009-05-09 10:52:17 -0500 (Sat, 09 May 2009)
New Revision: 10727

Modified:
   django/trunk/docs/intro/tutorial03.txt
Log:
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

Modified: django/trunk/docs/intro/tutorial03.txt
===================================================================
--- django/trunk/docs/intro/tutorial03.txt      2009-05-09 11:52:15 UTC (rev 
10726)
+++ django/trunk/docs/intro/tutorial03.txt      2009-05-09 15:52:17 UTC (rev 
10727)
@@ -87,6 +87,7 @@
         (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,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to