Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #351 from 1ntrud3r/patch-1

Remove unused imports in tutorial 4. refs #18915
  • Loading branch information...
commit 1d235b39142d830a221bda4c55dc3357446deb57 2 parents 499e71e + e78f2f6
@timgraham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/intro/tutorial04.txt
View
4 docs/intro/tutorial04.txt
@@ -218,7 +218,7 @@ Read on for details.
First, open the ``polls/urls.py`` URLconf. It looks like this, according to the
tutorial so far::
- from django.conf.urls import patterns, include, url
+ from django.conf.urls import patterns, url
urlpatterns = patterns('polls.views',
url(r'^$', 'index'),
@@ -229,7 +229,7 @@ tutorial so far::
Change it like so::
- from django.conf.urls import patterns, include, url
+ from django.conf.urls import patterns, url
from django.views.generic import DetailView, ListView
from polls.models import Poll
Please sign in to comment.
Something went wrong with that request. Please try again.