Kaydet (Commit) eb9b56c5 authored tarafından Tim Graham's avatar Tim Graham

Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.

üst f6e17896
...@@ -85,11 +85,11 @@ templates based on what's configured in the :setting:`TEMPLATES` setting. ...@@ -85,11 +85,11 @@ templates based on what's configured in the :setting:`TEMPLATES` setting.
Using this renderer along with the built-in widget templates requires either: Using this renderer along with the built-in widget templates requires either:
#. ``'django.forms'`` in :setting:`INSTALLED_APPS` and at least one engine * ``'django.forms'`` in :setting:`INSTALLED_APPS` and at least one engine
with :setting:`APP_DIRS=True <TEMPLATES-APP_DIRS>`. with :setting:`APP_DIRS=True <TEMPLATES-APP_DIRS>`.
#. Adding the built-in widgets templates directory in :setting:`DIRS * Adding the built-in widgets templates directory in :setting:`DIRS
<TEMPLATES-DIRS>` of one of your template engines. To generate that path:: <TEMPLATES-DIRS>` of one of your template engines. To generate that path::
import django import django
django.__path__[0] + '/forms/templates' # or '/forms/jinja2' django.__path__[0] + '/forms/templates' # or '/forms/jinja2'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment