Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14432 -- Added an import statement which was previously implie…

…d in tutorial 3's URLconf to make it as explicit as possible for new users. Thanks to gorus for the report and andrews for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d1a632f9f9cfbb1c44d8ab782fc6779324375edb 1 parent e9d6662
authored October 20, 2010

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. 7  docs/intro/tutorial03.txt
7  docs/intro/tutorial03.txt
@@ -498,9 +498,12 @@ Here's what happens if a user goes to "/polls/34/" in this system:
498 498
       remaining text -- ``"34/"`` -- to the 'polls.urls' URLconf for
499 499
       further processing.
500 500
 
501  
-Now that we've decoupled that, we need to decouple the 'polls.urls'
  501
+Now that we've decoupled that, we need to decouple the ``polls.urls``
502 502
 URLconf by removing the leading "polls/" from each line, and removing the
503  
-lines registering the admin site::
  503
+lines registering the admin site. Your ``polls.urls`` file should now look like
  504
+this::
  505
+
  506
+    from django.conf.urls.defaults import *
504 507
 
505 508
     urlpatterns = patterns('polls.views',
506 509
         (r'^$', 'index'),

0 notes on commit d1a632f

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