Templates doesnot exist
<p>I just start to learn Django and I stuck with a issue that i Can't solve. Me and My friend want to create a Web site, our project structure is like that <code>Projet
--home
----migrations
----static
----templates
------home
--------home.html
--Projet
--manage.py
--db.sqlite3</code></p>

<p>I get this error :</p>

<pre><code>TemplateDoesNotExist at /
home/home.html
Request Method: GET
Request URL:    http://127.0.0.1:8000/
Django Version: 1.10.1
Exception Type: TemplateDoesNotExist
Exception Value:    
home/home.html
Exception Location: C:\Python27\lib\site-packages\django\template\loader.py in get_template, line 25
Python Executable:  C:\Python27\python.exe
Python Version: 2.7.12
Python Path:    
['C:\\Python27\\Lib\\site-packages\\Jobin.git\\trunk',
 'C:\\Python27\\lib\\site-packages\\virtualenvwrapper_win-1.2.1-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\virtualenv-15.0.3-py2.7.egg',
 'C:\\Python27\\Lib\\site-packages\\Jobin.git\\trunk',
 'C:\\Windows\\SYSTEM32\\python27.zip',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\lib',
 'C:\\Python27\\lib\\plat-win',
 'C:\\Python27\\lib\\lib-tk',
 'C:\\Python27',
 'C:\\Python27\\lib\\site-packages']
Server time:    Sat, 10 Sep 2016 13:19:12 -0400
</code></pre>

<p>here is my setting.py</p>

<pre><code> import os

    # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
    BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

    TEMPLATE = [
        {
            'BACKEND': 'django.template.backends.django.DjangoTemplates',
            'DIRS': ['/templates/'],
            'APP_DIRS': True,
            'OPTIONS': {
                'context_processors': [
                    'django.template.context_processors.debug',
                    'django.template.context_processors.request',
                    'django.contrib.auth.context_processors.auth',
                    'django.contrib.messages.context_processors.messages',
                ],
            },
        },
    ]
</code></pre>

<p>I've tried everything on the field 'DIR' , like </p>

<pre><code>'DIRS': [BASE_DIR+"/templates", ]
'DIRS': [os.path.join(BASE_DIR, "templates")],
'DIRS': [os.path.join(BASE_DIR, 'templates')],
</code></pre>

<p>My views.py </p>

<pre><code> template_name = 'home/home.html'


    def get(self, request):
        return render(request, self.template_name)
</code></pre>

<p>still get this error , I don't know what to do anymore anyone has an idea ?</p>

<p>Put your <code>templates</code> folder in the same level of <code>manage.py</code></p>

<pre><code>--home
----migrations
----static
--Projet
--templates
----home
------home.html
--manage.py
--db.sqlite3
</code></pre>

python django