diff options
| author | Tim Graham <timograham@gmail.com> | 2016-05-10 12:46:47 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-10 12:46:47 -0400 |
| commit | 2f0e0eee450775a71ac3eb42707dcd970ede42c8 (patch) | |
| tree | 26149ef4a5feb6317f9b52c79239ca524a5bded4 /docs/ref/templates | |
| parent | c3e108694966f045adcc0ba11133a2b3bf238770 (diff) | |
Fixed #24046 -- Deprecated the "escape" half of utils.safestring.
Diffstat (limited to 'docs/ref/templates')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 0959679ed7..f44dbb0a6f 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1578,6 +1578,12 @@ For example, you can apply ``escape`` to fields when :ttag:`autoescape` is off:: {{ title|escape }} {% endautoescape %} +.. deprecated:: 1.10 + + The "lazy" behavior of the ``escape`` filter is deprecated. It will change + to immediately apply :func:`~django.utils.html.conditional_escape` in + Django 2.0. + .. templatefilter:: escapejs ``escapejs`` |
