Question: I tried doing this:
[![enter image description here](https://i.stack.imgur.com/AW476.png)](https://i.stack.imgur.com/AW476.png)

```
from django.http import HttpResponse
from django.shortcuts import render

def home(request):
    return render(request, 'templates/index.html')

```

But my page says that TemplateDoesNotExist. 

[![enter image description here](https://i.stack.imgur.com/BaAPB.png)](https://i.stack.imgur.com/BaAPB.png)

What should I do?

Answer: 
Create a folder 'justcolor' under templates directory and save index.html in it. change path to 'justcolor/index.html'. return render(request, 'justcolor/index.html')
Make sure you have configured urls.py and views.py correctly.

This question is already answered here :[Django TemplateDoesNotExist?](https://stackoverflow.com/questions/1926049/django-templatedoesnotexist)