1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Emphasized that TemplatesSetting must be used to override widget templates.

This commit is contained in:
Stephen Finucane
2018-09-11 13:14:53 -06:00
committed by Tim Graham
parent 32fbccab40
commit 25f4302349
2 changed files with 10 additions and 3 deletions

View File

@@ -12,6 +12,11 @@ the default Django template loader will try to load the template from the
project-level directory first. In other words, :setting:`DIRS <TEMPLATES-DIRS>`
is searched before :setting:`APP_DIRS <TEMPLATES-APP_DIRS>`.
.. seealso::
Read :ref:`overriding-built-in-widget-templates` if you're looking to
do that.
Overriding from the project's templates directory
=================================================