#28102: Contradictory documentation about DIRS and TemplatesSetting
------------------------------------------------+------------------------
               Reporter:  Richard Eames         |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Documentation         |        Version:  1.11
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 The documentation for the
 [`DIRS`](https://docs.djangoproject.com/en/1.11/ref/templates/api/#the-
 dirs-option) template setting states that
 > This should be set to a list of strings that contain **full paths** to
 your template directories

 However, the documentation for the
 
[`TemplatesSetting`](https://docs.djangoproject.com/en/1.11/ref/forms/renderers/#templatessetting)
 class tells us:
 > Adding the built-in widgets templates directory
 (**django/forms/templates** or **django/forms/jinja2**) in `DIRS` of one
 of your template engines.
 That is, it says to add a relative path to the `DIRS` setting, which
 contradicts the documentation for `DIRS`.

--
Ticket URL: <https://code.djangoproject.com/ticket/28102>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.004510981e417cac22e7e694fffe3370%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to