my django looks like can`t recognize the templates
<p>i am a noob learning python,when i learning the template of django,i met some mistakes;what i am using is pycharm2016.2.3 ,python3.5.2,django1.10.1</p>

<p>here is my dir list:</p>

<pre><code>â  db.sqlite3
â  manage.py
ââdjangotest
â  â  settings.py
â  â  urls.py
â  â  view.py
â  â  wsgi.py
â  â  __init__.py
â
ââtemplates
   hello.html
</code></pre>

<p>the url.py:</p>

<pre><code>from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    url(r'^admin/', admin.site.urls),

]
</code></pre>

<p>the setting.py:</p>

<pre><code>TEMPLATES = [
    {
    'BACKEND': 'django.template.backends.django.DjangoTemplates',
    'DIRS': [os.path.join(BASE_DIR, '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>the hello.html:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;temtest&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;{{ hello }}&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>the view.py:</p>

<pre><code>#coding:utf-8
from django.http import HttpResponse
from django.shortcuts import render

def hello(request):
    context = {}
    context['hello'] = 'yes i am'
    return render(request,'hello.html',context)
def first_page(request):
    info = 'on yes'
    return HttpResponse(info)
</code></pre>

<p>when i run and type 127.0.0.1:8000 i can open it successfully,
but when i type 127.0.0.1:8000/hello ,it show me this:<a href="https://i.stack.imgur.com/Id33r.png" rel="nofollow">enter image description here</a></p>

<p>it seems like that the templates can`t be recognized.
can somebody do me a flavor?
thank you!</p>

<p>You're missing a url definition :</p>

<pre><code>urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^hello$/', djangotest.hello),
]
</code></pre>

python django templates pycharm