I cannot display any html pages in Django 1.7. My 'index.html' is in ' project/seatalloc/templates/index.html ', and my view.py in project/seatalloc/views.py looks like this:
def index(request): return render(request, 'index.html', dirs=('templates',))
project / project / settings.py has a set of template templates:
TEMPLATE_DIRS = ( '/Users/Palak/Desktop/academics/sem3/cs251/lab11/project/seatalloc/templates', )
urls.py:
urlpatterns = patterns('', url(r'^seatalloc/', include('seatalloc.urls')), url(r'^admin/', include(admin.site.urls)), )

I tried to strictly follow the documentation, but can't figure out if Django is detecting the file, why am I getting TemplateDoesNotExist in / seatalloc / error. I am new to Django, someone can help.
source share