# TemplateDoesNotExist at /blog/ blog/index.html

**URL:** <https://forum.djangoproject.com/t/templatedoesnotexist-at-blog-blog-index-html/33232>\
**Category:** Templates & Frontend\
**Created:** [July 24, 2024, 2:51am UTC](https://forum.djangoproject.com/t/templatedoesnotexist-at-blog-blog-index-html/33232 "2024-07-24T02:51:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marygaleano24](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/marygaleano24/32/22797_2.png) [@Marygaleano24](https://forum.djangoproject.com/u/Marygaleano24)\
**Post date:** [July 24, 2024, 2:51am UTC](https://forum.djangoproject.com/t/templatedoesnotexist-at-blog-blog-index-html/33232/1 "2024-07-24T02:51:53Z")

</div>

Hello everyone,

I’m new to the Django community and this is my first time asking for help here. English is not my first language, so I used a translator to write this message.

I’m encountering an error when trying to access the URL `/blog/` in my Django project. The error message is:

```auto

```

TemplateDoesNotExist at /blog/  
blog/index.html

```auto

```

I have already created the template `index.html` inside the `blog` directory, but it still doesn’t seem to be recognized.

Could someone please help me understand why this error is happening and how I can fix it?

Thank you very much!

 ![Imagen de WhatsApp 2024-07-23 a las 22.37.39_daffe9c5](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/0/7/076322c3f3810aba5c1a0477b626fc0b70ee47a2.jpeg)

---

<div class="post-metadata">

**Author:** ![Marygaleano24](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/marygaleano24/32/22797_2.png) [@Marygaleano24](https://forum.djangoproject.com/u/Marygaleano24)\
**Post date:** [July 24, 2024, 2:58am UTC](https://forum.djangoproject.com/t/templatedoesnotexist-at-blog-blog-index-html/33232/2 "2024-07-24T02:58:09Z")

</div>

He tratado de leer las preguntas referentes a este problema pero sigo sin entender, espero su ayuda.  
Gracias!

---

<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:** [July 24, 2024, 3:00am UTC](https://forum.djangoproject.com/t/templatedoesnotexist-at-blog-blog-index-html/33232/3 "2024-07-24T03:00:04Z")

</div>

Welcome @Marygaleano24 !

The template file should be `”your project dir”/blog/templates/blog/index.html`. Additionally, you need to ensure that the `APP_DIRS` is `True` in the `TEMPLATES` setting.

---

<div class="post-metadata">

**Author:** ![Marygaleano24](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/marygaleano24/32/22797_2.png) [@Marygaleano24](https://forum.djangoproject.com/u/Marygaleano24)\
**Post date:** [July 24, 2024, 3:09am UTC](https://forum.djangoproject.com/t/templatedoesnotexist-at-blog-blog-index-html/33232/4 "2024-07-24T03:09:06Z")

</div>

Thank you for the help!

I followed the instructions for creating the `templates` directory, and now it works. I must have made a mistake with the location initially.

Thank you again for your assistance!

---

<div class="post-metadata">

**Author:** ![hoavq-glinteco](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/hoavq-glinteco/32/22374_2.png) [@hoavq-glinteco](https://forum.djangoproject.com/u/hoavq-glinteco)\
**Post date:** [July 24, 2024, 9:12am UTC](https://forum.djangoproject.com/t/templatedoesnotexist-at-blog-blog-index-html/33232/5 "2024-07-24T09:12:09Z")

</div>

One side note here is: you can customize your template dir by following this link [How to override templates | Django documentation | Django](https://docs.djangoproject.com/en/5.0/howto/overriding-templates/#overriding-from-the-project-s-templates-directory)
