Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updating urls.py example again.

  • Loading branch information...
commit bdc74e682d1f6135d34444701ef175617f0d8876 1 parent 07018b5
@mpdaugherty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  chapter03.rst
View
2  chapter03.rst
@@ -496,7 +496,7 @@ After adding that to ``views.py``, add the URLpattern to ``urls.py`` to tell
Django which URL should handle this view. Something like ``/time/`` would make
sense::
- from django.conf.urls.defaults import *
+ from django.conf.urls.defaults import patterns, include, url
from mysite.views import hello, current_datetime
urlpatterns = patterns('',
Please sign in to comment.
Something went wrong with that request. Please try again.