This is part of my views [[[code]]] from mysite.views
def site_root(request): return HttpResponse("This is the site root") def hello(request): return HttpResponse("Hello World") [[endcode]] My URLConf [[code]] from django.conf.urls.defaults import * urlpatterns = patterns('mysite.views', (r'^$', 'site_root'), (r'^hello/$', 'hello'), (r'^now/plus/(\d{1,2})/$', 'offset_time'), ) [[/code]] I am actually following the book "The Definitive Guide to Django (2)"" chapter 8 advacne URLConf and views. The sample code was [[code]] from django.conf.urls.defaults import * urlpatterns = patterns('mysite.views', (r'^hello/$', 'hello'), (r'^time/$', 'current_datetime'), (r'^time/plus/(\d{1,2})/$', 'hours_ahead'), ) [[//code]] What is wrong with my url? I am calling the root right now, localhost, and root view is the first one to be called. That gives me the error, and thus any url thereafter gives the same error. Any input is appreicated. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.