[1.3.X] Fixed #16051 - Changed a "file" reference in the tutorial to be an actual file rather than a module; thanks felix.morency for the suggestion.
Backport of r16258 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
08f5ac3d51
commit
2c3d3400ef
@ -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…
x
Reference in New Issue
Block a user