I got this error, but I can not understand it. I copied it directly from a previous Django project, hence part of the confusion.
TemplateSyntaxError in Caught NoReverseMatch on rendering: Reverse for 'about' with arguments '()' and keyword arguments '{}' not found.
In my index.html, I have a link to a {% url about %}non-reference template about.html
Urls.py has this:
urlpatterns = patterns('django.views.generic.simple',
url(r'^about/$', 'direct_to_template', {"template":"about.html"}, name="about"),
)
Emile source
share