Opened 9 years ago
Last modified 9 years ago
#28102 closed Cleanup/optimization
Contradictory documentation about DIRS and TemplatesSetting — at Initial Version
| Reported by: | no | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.11 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | yes | UI/UX: | no |
Description
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
DIRSof one of your template engines.
That is, it says to add a relative path to the DIRS setting, which contradicts the documentation for DIRS.