mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
[1.11.x] Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
Backport of eb9b56c5b60215a683c80e68f08ae6fca0ec24ef from master
This commit is contained in:
parent
0f9de3976c
commit
b0566e5bb3
@ -90,11 +90,11 @@ templates based on what's configured in the :setting:`TEMPLATES` setting.
|
||||
|
||||
Using this renderer along with the built-in widget templates requires either:
|
||||
|
||||
#. ``'django.forms'`` in :setting:`INSTALLED_APPS` and at least one engine
|
||||
with :setting:`APP_DIRS=True <TEMPLATES-APP_DIRS>`.
|
||||
* ``'django.forms'`` in :setting:`INSTALLED_APPS` and at least one engine
|
||||
with :setting:`APP_DIRS=True <TEMPLATES-APP_DIRS>`.
|
||||
|
||||
#. Adding the built-in widgets templates directory in :setting:`DIRS
|
||||
<TEMPLATES-DIRS>` of one of your template engines. To generate that path::
|
||||
* Adding the built-in widgets templates directory in :setting:`DIRS
|
||||
<TEMPLATES-DIRS>` of one of your template engines. To generate that path::
|
||||
|
||||
import django
|
||||
django.__path__[0] + '/forms/templates' # or '/forms/jinja2'
|
||||
|
Loading…
x
Reference in New Issue
Block a user