Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Merge pull request for ticket #18915 patch #341

Merged
merged 2 commits into from

2 participants

@nmartini

remove unused import and update associated docs text in decoupling URLS tutorial, closes #18915

@timgraham timgraham merged commit 499e71e into django:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/intro/tutorial03.txt
View
5 docs/intro/tutorial03.txt
@@ -513,8 +513,9 @@ Here's what happens if a user goes to "/polls/34/" in this system:
further processing.
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
-lines registering the admin site. Your ``polls/urls.py`` file should now look like
+URLconf by removing the leading "polls/" from each line, removing the
+lines registering the admin site, and removing the ``include`` import which
+is no longer used. Your ``polls/urls.py`` file should now look like
this::
from django.conf.urls import patterns, url
Something went wrong with that request. Please try again.