#33345: Forms does not search external template directories
-------------------------------------+-------------------------------------
     Reporter:  Guillaume            |                    Owner:  nobody
  Quenneville                        |
         Type:  Bug                  |                   Status:  closed
    Component:  Forms                |                  Version:  4.0
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  template discovery   |             Triage Stage:
  forms                              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * cc: David Smith (added)
 * status:  new => closed
 * resolution:   => invalid


Comment:

 `Form.render()` uses
 
[https://docs.djangoproject.com/en/4.0/ref/forms/api/#django.forms.Form.default_renderer
 Form.default_renderer] when the `renderer` argument is not specified, and
 `Form.default_renderer` defaults to the
 [https://docs.djangoproject.com/en/4.0/ref/settings/#std:setting-
 FORM_RENDERER FORM_RENDERER] setting which defaults to
 
[https://docs.djangoproject.com/en/4.0/ref/forms/renderers/#django.forms.renderers.DjangoTemplates
 `'django.forms.renderers.DjangoTemplates'`]. If you want to render
 templates with customizations from your `TEMPLATES` setting, you should
 change the renderer to use the
 
[https://docs.djangoproject.com/en/4.0/ref/forms/renderers/#django.forms.renderers.TemplatesSetting
 `TemplatesSetting`] renderer at any of these levels.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33345#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/078.e04115f0892204fba1ebbde6a1829e89%40djangoproject.com.

Reply via email to