# Why is my templates folder being ignored?

**URL:** <https://forum.djangoproject.com/t/why-is-my-templates-folder-being-ignored/25452>\
**Category:** Mystery Errors\
**Created:** [November 19, 2023, 5:25pm UTC](https://forum.djangoproject.com/t/why-is-my-templates-folder-being-ignored/25452 "2023-11-19T17:25:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Spidiffpaffpuff](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/spidiffpaffpuff/32/1557_2.png) [@Spidiffpaffpuff](https://forum.djangoproject.com/u/Spidiffpaffpuff)\
**Post date:** [November 20, 2023, 3:24pm UTC](https://forum.djangoproject.com/t/why-is-my-templates-folder-being-ignored/25452/5 "2023-11-20T15:24:19Z")

</div>

Thank you Ken for clearing things up. I read over the manual passages a couple of times and still wasn’t sure whether there are several template rendering engines. Now I know for sure. Unfortunately, ‘django.template.backends.django.TemplatesSetting’ does not work.

> ImportError: Module “django.template.backends.django” does not define a “TemplatesSetting” attribute/class

I’m using Django 4.1. I found TemplatesSetting in django.forms.renderers.TemplatesSetting. When I used that path I end up with:

> TypeError: TemplatesSetting() takes no arguments

I found another thread on that, but it’s unanswered.

> [@Overriding Widgets templates not working (following help), template loader not searching app dirs](https://forum.djangoproject.com/t/overriding-widgets-templates-not-working-following-help-template-loader-not-searching-app-dirs/12974):
>
> Using Django 4, [Here](https://docs.djangoproject.com/en/4.0/ref/forms/renderers/#overriding-built-in-widget-templates-1) it explains how to override a widget template: Each widget has a template\_name attribute with a value such as input.html . Built-in widget templates are stored in the django/forms/widgets path. You can provide a custom template for input.html by defining django/forms/widgets/input.html , for example. See [Built-in widgets](https://docs.djangoproject.com/en/4.0/ref/forms/widgets/#built-in-widgets) for the name of each widget’s template. I.e.: Step 1. Place folder in correct namespaced dir And [here](https://docs.djangoproject.com/en/4.0/ref/forms/renderers/#templatessetting) explains how to perform the next steps: 'dj…

---

_[View the full topic](https://forum.djangoproject.com/t/why-is-my-templates-folder-being-ignored/25452)._
