Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Since we are using the url function, we are not just adding a "python…

… tuple" anymore
  • Loading branch information...
commit dc4aee47490e9f42952276d0f85eca8d318e8cfc 1 parent 115b209
@mpdaugherty mpdaugherty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 chapter03.rst
View
4 chapter03.rst
@@ -143,8 +143,8 @@ note, that's how Django knew to show you the "Welcome to Django" page in the
last chapter. If your URLconf is empty, Django assumes you just started a new
project and, hence, displays that message.)
-To add a URL and view to the URLconf, just add a Python tuple mapping a URL
-pattern to the view function. Here's how to hook in our ``hello`` view::
+To add a URL and view to the URLconf, just add a mapping between a URL
+pattern and the view function. Here's how to hook in our ``hello`` view::
from django.conf.urls.defaults import patterns, include, url
from mysite.views import hello
Please sign in to comment.
Something went wrong with that request. Please try again.