# Can't locate template, super new user here!

**URL:** <https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165>\
**Category:** Getting Started\
**Created:** [September 3, 2020, 4:23am UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165 "2020-09-03T04:23:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![scarecrow2k6](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/scarecrow2k6/32/1991_2.png) [@scarecrow2k6](https://forum.djangoproject.com/u/scarecrow2k6)\
**Post date:** [September 3, 2020, 4:23am UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/1 "2020-09-03T04:23:25Z")

</div>

I am a super new user to Django (Python as well). I have been trying out this ([https://youtu.be/br0819-OFg4)](https://youtu.be/br0819-OFg4) tutorial and on part three I am not getting the same result at time- 9:15. I am getting an error: [https://www.ppaste.org/GghTtaPqV](https://www.ppaste.org/GghTtaPqV). I am also attaching my project structure if it helps. I would really appreciate some guidance.

 ![error](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/2X/a/ac675f4a39e77b19b55da82317a64f2c3c88d0b1.png)

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 3, 2020, 9:34pm UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/2 "2020-09-03T21:34:54Z")

</div>

The error message is saying that it can’t find base.html.

Your directory image isn’t showing a base.html.

Where is your base.html file, and what is your ‘TEMPLATES’ setting in your settings.py file?

---

<div class="post-metadata">

**Author:** ![scarecrow2k6](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/scarecrow2k6/32/1991_2.png) [@scarecrow2k6](https://forum.djangoproject.com/u/scarecrow2k6)\
**Post date:** [September 6, 2020, 3:40am UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/4 "2020-09-06T03:40:52Z")

</div>

Sorry for not showing it in the project structure, it was in the tutorial \> templates folder. I have posted another screenshot.

 ![templates_error2](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/2X/6/675b0bcf25eaf682a5002ae39dd2a9220e51bf80.png)

My base.html has these lines:

{% extends ‘base.html’ %}

{% block content %}

```
<h1>Hello World!</h1>

```

{% endblock content %}

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 6, 2020, 4:41am UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/5 "2020-09-06T04:41:04Z")

</div>

Is progproj in your list of installed applications?

---

<div class="post-metadata">

**Author:** ![scarecrow2k6](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/scarecrow2k6/32/1991_2.png) [@scarecrow2k6](https://forum.djangoproject.com/u/scarecrow2k6)\
**Post date:** [September 6, 2020, 2:51pm UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/7 "2020-09-06T14:51:55Z")

</div>

**reviews** is the app and I have added that on the installed apps list in settings as ‘reviews’,.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 6, 2020, 4:47pm UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/8 "2020-09-06T16:47:54Z")

</div>

Your base.html is **not** in your ‘reviews’ app, it’s in the progproj app.

Your template settings specifies APP\_DIRS: True, but the progproj app isn’t in your list of installed apps. You also don’t have any directories specified in the DIRS section of your TEMPLATES. So what has happened here is that you haven’t told Django where to find base.html.

You can:

- add progproj to your list of installed apps,
- specify the progproj directory in the DIRS section,
- move your progproj/templates directory up a level and specify _it_ in the DIRS section of your TEMPLATES configuration,  
or
- move base.html into reviews/templates/reviews.

---

<div class="post-metadata">

**Author:** ![scarecrow2k6](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/scarecrow2k6/32/1991_2.png) [@scarecrow2k6](https://forum.djangoproject.com/u/scarecrow2k6)\
**Post date:** [September 6, 2020, 7:24pm UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/9 "2020-09-06T19:24:07Z")

</div>

The progproj is the main project folder I believe, there is only one app (reviews). This is may be a very silly question, can you please tell me what exactly should I put in the Templates in settings.py? Thanks.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 6, 2020, 7:53pm UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/10 "2020-09-06T19:53:27Z")

</div>

You can choose from any of the four options I listed in my previous reply. Each one of those options is going to require that you take different steps to implement them.

What you would choose as “the best” choice from among those four options is going to depend a lot upon a number of different factors. Probably the most significant one is that you’re working from a video tutorial.

Quite honestly, I lack the desire or inclination to try and watch a video to figure out if or how your project setup differs from the video, to find out what you would need to do to get back on track.

I will direct you to the settings documentation for the [TEMPLATES](https://docs.djangoproject.com/en/3.1/ref/settings/#templates) setting, in particular the [DIRS](https://docs.djangoproject.com/en/3.1/ref/settings/#dirs) setting and the [APP\_DIRS](https://docs.djangoproject.com/en/3.1/ref/settings/#app-dirs) setting, so that you can get a better understanding of these options and how they’re used.

---

<div class="post-metadata">

**Author:** ![A-Marzouk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/a-marzouk/32/12399_2.png) [@A-Marzouk](https://forum.djangoproject.com/u/A-Marzouk)\
**Post date:** [February 25, 2023, 9:52am UTC](https://forum.djangoproject.com/t/cant-locate-template-super-new-user-here/4165/11 "2023-02-25T09:52:43Z")

</div>

I think you just need to add your project templates directory to the TEMPLATES variable, DIRS in the settings.py.

like this:

```auto
'DIRS': [BASE_DIR / 'demoproject/templates'],

```
