summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2013-02-25 00:43:03 -0700
committerCarl Meyer <carl@oddbird.net>2013-02-25 00:43:03 -0700
commit87e8dfaa47a07662351a8a8dc9a15c6afef87b88 (patch)
treec1d0628168df311f81adc277d2d16307eec4da14
parent3ded2aef71e35e00e9822a39b3805b31deb0eef5 (diff)
Switching to autoescape is not a change in syntax.
-rw-r--r--django/template/defaulttags.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py
index 8a571fdbc5..b272322e1b 100644
--- a/django/template/defaulttags.py
+++ b/django/template/defaulttags.py
@@ -565,7 +565,8 @@ def cycle(parser, token, escape=False):
"""
if not escape:
warnings.warn(
- "'The syntax for the `cycle` template tag is changing. Load it "
+ "'The `cycle` template tag is changing to escape its arguments; "
+ "the non-autoescaping version is deprecated. Load it "
"from the `future` tag library to start using the new behavior.",
PendingDeprecationWarning, stacklevel=2)
@@ -707,7 +708,8 @@ def firstof(parser, token, escape=False):
"""
if not escape:
warnings.warn(
- "'The syntax for the `firstof` template tag is changing. Load it "
+ "'The `firstof` template tag is changing to escape its arguments; "
+ "the non-autoescaping version is deprecated. Load it "
"from the `future` tag library to start using the new behavior.",
PendingDeprecationWarning, stacklevel=2)