summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-08-05 15:35:50 +0200
committerNatalia <124304+nessita@users.noreply.github.com>2024-08-05 10:36:41 -0300
commit20bd3f02becc8c8657a23f058b82e8708e9336cc (patch)
tree18fa054c77d7642fc7c9ca2322662b7fe0b9c2f7 /docs/howto
parent88ebcb1856deef5ab777601a735c9954ac723325 (diff)
[5.1.x] Used :pypi: role in docs where appropriate.
Backport of 304d25667433a59409e334a93acaaa9201840508 from main.
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/custom-template-backend.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/custom-template-backend.txt b/docs/howto/custom-template-backend.txt
index 85e8591cbd..640f6918f7 100644
--- a/docs/howto/custom-template-backend.txt
+++ b/docs/howto/custom-template-backend.txt
@@ -154,7 +154,8 @@ Origin API and 3rd-party integration
Django templates have an :class:`~django.template.base.Origin` object available
through the ``template.origin`` attribute. This enables debug information to be
displayed in the :ref:`template postmortem <template-postmortem>`, as well as
-in 3rd-party libraries, like the `Django Debug Toolbar`_.
+in 3rd-party libraries, like the :pypi:`Django Debug Toolbar
+<django-debug-toolbar>`.
Custom engines can provide their own ``template.origin`` information by
creating an object that specifies the following attributes:
@@ -168,4 +169,3 @@ creating an object that specifies the following attributes:
to load the template, e.g. ``django.template.loaders.filesystem.Loader``.
.. _DEP 182: https://github.com/django/deps/blob/main/final/0182-multiple-template-engines.rst
-.. _Django Debug Toolbar: https://github.com/jazzband/django-debug-toolbar/