#36044: Reusable form templates example lead to a TemplateDoesNotExist error
------------------------------------+--------------------------------------
     Reporter:  Guillaume LEBRETON  |                    Owner:  (none)
         Type:  Uncategorized       |                   Status:  new
    Component:  Documentation       |                  Version:  5.1
     Severity:  Normal              |               Resolution:
     Keywords:                      |             Triage Stage:  Unreviewed
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+--------------------------------------
Changes (by Sarah Boyce):

 * cc: David Smith (added)

Comment:

 
https://docs.djangoproject.com/en/5.1/ref/forms/renderers/#django.forms.renderers.DjangoTemplates
 > If you want to render templates with customizations from your TEMPLATES
 setting, such as context processors for example, use the TemplatesSetting
 renderer.

 I think the above might be why customized renderers inherit from
 `TemplatesSetting`.
 Occasionally in examples we have a comment like `# ...` to indicate
 something is incomplete/partial for the example. So perhaps a comment or
 having it inherit from `DjangoTemplates` is an idea.

 I'd quite like to hear David's opinion here
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36044#comment:6>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070194263e951b-f7314916-e7d0-496a-8e46-296aef5d1362-000000%40eu-central-1.amazonses.com.

Reply via email to