diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2016-09-08 18:24:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-08 18:24:22 -0700 |
| commit | 331ca5391eb64cbac3a001209257beb93522d587 (patch) | |
| tree | e6dcdf38907001da099892c79cc17a23d9f223f3 /docs/ref | |
| parent | 7ca3b391b611eb710c4c1d613e2f672591097a00 (diff) | |
Fixed #27175 -- Deprecated silencing exceptions from the {% include %} template tag.
Thanks Tim Graham for the review.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 61c36f47fb..6395f97607 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -731,6 +731,11 @@ is turned off, ``{% include %}`` logs a warning to the ``django.template`` logger with the exception that happens while rendering the included template and returns an empty string. +.. deprecated:: 1.11 + + Silencing exceptions raised while rendering the ``{% include %}`` template + tag is deprecated. In Django 2.1, the exception will be raised. + .. note:: The :ttag:`include` tag should be considered as an implementation of "render this subtemplate and include the HTML", not as "parse this |
