From 331ca5391eb64cbac3a001209257beb93522d587 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 8 Sep 2016 18:24:22 -0700 Subject: Fixed #27175 -- Deprecated silencing exceptions from the {% include %} template tag. Thanks Tim Graham for the review. --- docs/ref/templates/builtins.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') 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 -- cgit v1.3