Skip to content
Browse files

Update another urlconf example.

  • Loading branch information...
1 parent 3ac9120 commit 6f66efaeb3c64abbc0579708eb011c5120cec402 @mpdaugherty committed Oct 26, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 chapter03.rst
View
6 chapter03.rst
@@ -567,9 +567,9 @@ without having to touch the view code. In this example, our
this technique can come in handy::
urlpatterns = patterns('',
- ('^hello/$', hello),
- ('^time/$', current_datetime),
- ('^another-time-page/$', current_datetime),
+ url(r'^hello/$', hello),
+ url(r'^time/$', current_datetime),
+ url(r'^another-time-page/$', current_datetime),
)
URLconfs and views are loose coupling in action. We'll continue to point out

0 comments on commit 6f66efa

Please sign in to comment.
Something went wrong with that request. Please try again.