Regarding the new DjangoTemplates

In Django version 5.1, I had a form field renderer that worked correctly; it found the template in the templates directory at the project root.

I updated to 5.2, and it stopped working. Now it searches for ‘django/forms/widgets/text.html’ in various directories, looking for something unrelated to the template I defined.

from django.forms.renderers import TemplatesSetting


class FormRenderer(TemplatesSetting):
    field_template_name = "crud/field.html"

In settings.py:
FORM_RENDERER = 'core.clases.renderers.FormRenderer'

I switched to DjangoTemplates, and now it’s searching for the template I defined, but only within Django’s internal directories. The documentation is a bit confusing; it seems I should be looking for my template in an application’s templates directory, but the template doesn’t belong to an application; it belongs to the project, so it would be strange to put it inside an application.

Can you give me an example of how it should work now?