1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

Fixed #16051 - Changed a "file" reference in the tutorial to be an actual file rather than a module; thanks felix.morency for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2011-05-22 00:12:48 +00:00
parent 940d17409e
commit 80d6089029

View File

@ -523,7 +523,7 @@ Here's what happens if a user goes to "/polls/34/" in this system:
Now that we've decoupled that, we need to decouple the ``polls.urls`` Now that we've decoupled that, we need to decouple the ``polls.urls``
URLconf by removing the leading "polls/" from each line, and removing the URLconf by removing the leading "polls/" from each line, and removing the
lines registering the admin site. Your ``polls.urls`` file should now look like lines registering the admin site. Your ``polls/urls.py`` file should now look like
this:: this::
from django.conf.urls.defaults import * from django.conf.urls.defaults import *