In my url.py, I define the root my site is like this:
urlpatterns = patterns('',
url(r'^$', 'views.index', name="index"),
...)
in my template, I have a link defined as follows:
Home
I got this error:
TemplateSyntaxError at /
Home
Caught an exception while rendering: Reverse for
Does anyone know a sample Django 1.0 application with complete source
code that is good for beginner to explore?
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
2 matches
Mail list logo