summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorRamil Yanbulatov <rayman1104@gmail.com>2022-06-30 15:08:49 +0300
committerCarlton Gibson <carlton.gibson@noumenal.es>2022-08-09 14:44:51 +0200
commitc6290bae9da94234091673fa57ea20411325a9e8 (patch)
treea3aafea2b59d053aaaf44d0f23fa6db29c1c2e88 /docs/ref/forms
parentf3a06b06b59b3d24d5c2c14a34a8051879203c45 (diff)
Fixed #33842 -- Used :source: role for links to repo files on GitHub.
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/renderers.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/forms/renderers.txt b/docs/ref/forms/renderers.txt
index 2db4ff6592..56ed0f6898 100644
--- a/docs/ref/forms/renderers.txt
+++ b/docs/ref/forms/renderers.txt
@@ -101,8 +101,8 @@ This renderer uses a standalone
:class:`~django.template.backends.django.DjangoTemplates`
engine (unconnected to what you might have configured in the
:setting:`TEMPLATES` setting). It loads templates first from the built-in form
-templates directory in ``django/forms/templates`` and then from the installed
-apps' templates directories using the :class:`app_directories
+templates directory in :source:`django/forms/templates` and then from the
+installed apps' templates directories using the :class:`app_directories
<django.template.loaders.app_directories.Loader>` loader.
If you want to render templates with customizations from your
@@ -136,8 +136,8 @@ be removed at that time.
This renderer is the same as the :class:`DjangoTemplates` renderer except that
it uses a :class:`~django.template.backends.jinja2.Jinja2` backend. Templates
-for the built-in widgets are located in ``django/forms/jinja2`` and installed
-apps can provide templates in a ``jinja2`` directory.
+for the built-in widgets are located in :source:`django/forms/jinja2` and
+installed apps can provide templates in a ``jinja2`` directory.
To use this backend, all the forms and widgets in your project and its
third-party apps must have Jinja2 templates. Unless you provide your own Jinja2