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 a `templates\justColor` subdirectory template inside your `justColor` folder and move `index.html` to there. Then as @Neeraj said you can change render call to `render(request, 'justColor/index.html')`.

(Although you should read this part of the django tutorial which will help you more than any trial-and-error in this subject: <https://docs.djangoproject.com/en/3.0/intro/tutorial03/>)