Caught NoReverseMatch while rendering: Reverse for 'views.main' with arguments '()' and keyword arguments '{}' not found.
I don't understand what would cause the error.
My urls
urlpatterns = patterns('',
url(r'^$', views.main),
html template
<a href="{% url views.main %}"> bla bla blah</a>
And in my views.py
return render_to_response("main.html", d, context_instance=RequestContext(request))
I've checked my TEMPLATE_DIRS and they seem to be pointing to the correct directory.