mirror of https://github.com/django/django.git
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:
parent
940d17409e
commit
80d6089029
|
@ -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 *
|
||||||
|
|
Loading…
Reference in New Issue