Getting TemplateDoesNoteExsist Error in Django
Question: 
    TemplateDoesNotExist at /
    index.html
    Request Method: GET
    Request URL:    
    Django Version: 1.6.5
    Exception Type: TemplateDoesNotExist
    Exception Value:    
    index.html
    Exception Location: C:\Python27\lib\site-packages\django\template\loader.py in find_template, line 131
    
    Template-loader postmortem
    
    Django tried loading these templates, in this order:
    Using loader django.template.loaders.filesystem.Loader:
    C:\Users\Peter Na\documents\github\tutorial2\static\templates\index.html (File does not exist)
    Using loader django.template.loaders.app_directories.Loader:
    C:\Python27\lib\site-packages\django\contrib\admin\templates\index.html (File does not exist)
    C:\Python27\lib\site-packages\django\contrib\auth\templates\index.html (File does not exist)
    
    TemplateDoesNotExist at /
    index.html
    Request Method: GET
    Request URL:
    Django Version: 1.6.5
    Exception Type: TemplateDoesNotExist
    Exception Value:    
    index.html
    Exception Location: C:\Python27\lib\site-packages\django\template\loader.py in find_template, line 131
    Python Executable:  C:\Python27\python.exe
    Python Version: 2.7.6
    
    Template-loader postmortem
    
    Django tried loading these templates, in this order:
    Using loader django.template.loaders.filesystem.Loader:
    C:\Users\Peter Na\documents\github\tutorial2\static\templates\index.html (File does not exist)
    Using loader django.template.loaders.app_directories.Loader:
    C:\Python27\lib\site-packages\django\contrib\admin\templates\index.html (File does not exist)
    C:\Python27\lib\site-packages\django\contrib\auth\templates\index.html (File does not exist)
    

in the Root Folder I do have a static folder>Templates>index.html. It seems
like it cannot pick up the HTML file???


Answer: You need add your template dir in the settings file.

    
    
    import os
    
    PROJECT_PATH = os.path.realpath(os.path.dirname(__file__))
    
    ...
    
    MEDIA_ROOT = PROJECT_PATH + '/media/'
    
    TEMPLATE_DIRS = (
        PROJECT_PATH + '/templates/'
    )
    

