diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-08-05 15:35:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 10:35:50 -0300 |
| commit | 304d25667433a59409e334a93acaaa9201840508 (patch) | |
| tree | e327a09a1a7cce24b10e402ff656031bb5cce782 /docs/howto | |
| parent | 7f8d839722b72aeb3ec5a4278ae57c18283acacd (diff) | |
Used :pypi: role in docs where appropriate.
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/custom-template-backend.txt | 4 |
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/ |
