diff options
| author | Tim Graham <timograham@gmail.com> | 2012-09-07 15:27:29 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-09-07 15:27:29 -0700 |
| commit | 499e71eb2e9e565818c9244fdbea13eca88a7ee8 (patch) | |
| tree | 59267f942dcbed61d2441d8f00961da23596ca05 /docs | |
| parent | 2649cb8ff3000ae053624300d0e6ce219af77745 (diff) | |
| parent | 9e190e1c82a287c88636f8fffea125224526f0e5 (diff) | |
Merge pull request #341 from nmartini/master
Updated text in tutorial 3 regarding removing unused import; refs #18915
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/tutorial03.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 2430bc3a2d..03d4bf68b3 100644 --- a/docs/intro/tutorial03.txt +++ b/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 |
