Browse files

Update the example to be consistent.

  • Loading branch information...
1 parent 1e3d147 commit 18636eda785bb3345fea53d69b36ed2a799af43c @mpdaugherty committed Oct 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 chapter03.rst
@@ -163,7 +163,7 @@ We made two changes here:
import syntax. (This assumes ``mysite/`` is on your Python path;
see the sidebar for details.)
-* Next, we added the line ``('^hello/$', hello),`` to ``urlpatterns``. This
+* Next, we added the line ``url(r'^hello/$', hello),`` to ``urlpatterns``. This
line is referred to as a *URLpattern*. It's a Python tuple in which the
first element is a pattern-matching string (a regular expression; more on
this in a bit) and the second element is the view function to use for

0 comments on commit 18636ed

Please sign in to comment.