summaryrefslogtreecommitdiff
path: root/django/templatetags
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-22 13:54:35 -0400
committerTim Graham <timograham@gmail.com>2015-06-24 16:08:20 -0400
commitaaacaeb0963c406c4fe6f68c6ae51f4a65878250 (patch)
treeb100c6ffc345f12342243a8ac684a692b26a9357 /django/templatetags
parente73842a95fb751f89a8cafc861bfd57d034cd116 (diff)
Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
Diffstat (limited to 'django/templatetags')
-rw-r--r--django/templatetags/future.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/django/templatetags/future.py b/django/templatetags/future.py
index 257bd9ac6c..5af0dcef72 100644
--- a/django/templatetags/future.py
+++ b/django/templatetags/future.py
@@ -1,7 +1,7 @@
import warnings
from django.template import Library, defaulttags
-from django.utils.deprecation import RemovedInDjango20Warning
+from django.utils.deprecation import RemovedInDjango110Warning
register = Library()
@@ -27,8 +27,8 @@ def cycle(parser, token):
"""
warnings.warn(
"Loading the `cycle` tag from the `future` library is deprecated and "
- "will be removed in Django 2.0. Use the default `cycle` tag instead.",
- RemovedInDjango20Warning)
+ "will be removed in Django 1.10. Use the default `cycle` tag instead.",
+ RemovedInDjango110Warning)
return defaulttags.cycle(parser, token)
@@ -62,6 +62,6 @@ def firstof(parser, token):
"""
warnings.warn(
"Loading the `firstof` tag from the `future` library is deprecated and "
- "will be removed in Django 2.0. Use the default `firstof` tag instead.",
- RemovedInDjango20Warning)
+ "will be removed in Django 1.10. Use the default `firstof` tag instead.",
+ RemovedInDjango110Warning)
return defaulttags.firstof(parser, token)