From c6290bae9da94234091673fa57ea20411325a9e8 Mon Sep 17 00:00:00 2001 From: Ramil Yanbulatov Date: Thu, 30 Jun 2022 15:08:49 +0300 Subject: Fixed #33842 -- Used :source: role for links to repo files on GitHub. --- docs/ref/forms/renderers.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/ref/forms') 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 ` 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 -- cgit v1.3