summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-17 13:29:52 -0500
committerTim Graham <timograham@gmail.com>2015-01-17 13:29:52 -0500
commitbd93032191f96bc7086aa46b91b4177601c6fce9 (patch)
tree983458f8b8736c806962ee2c412ee8bfae741e32 /django
parente278407b20af0fd957fc3f39244a991c7520f2ba (diff)
Removed ssi/url tags from future per deprecation timeline; refs #21939.
Diffstat (limited to 'django')
-rw-r--r--django/templatetags/future.py20
1 files changed, 1 insertions, 19 deletions
diff --git a/django/templatetags/future.py b/django/templatetags/future.py
index 46cc51c431..d584a1dd2b 100644
--- a/django/templatetags/future.py
+++ b/django/templatetags/future.py
@@ -2,30 +2,12 @@ import warnings
from django.template import Library
from django.template import defaulttags
-from django.utils.deprecation import RemovedInDjango19Warning, RemovedInDjango20Warning
+from django.utils.deprecation import RemovedInDjango20Warning
register = Library()
@register.tag
-def ssi(parser, token):
- warnings.warn(
- "Loading the `ssi` tag from the `future` library is deprecated and "
- "will be removed in Django 1.9. Use the default `ssi` tag instead.",
- RemovedInDjango19Warning)
- return defaulttags.ssi(parser, token)
-
-
-@register.tag
-def url(parser, token):
- warnings.warn(
- "Loading the `url` tag from the `future` library is deprecated and "
- "will be removed in Django 1.9. Use the default `url` tag instead.",
- RemovedInDjango19Warning)
- return defaulttags.url(parser, token)
-
-
-@register.tag
def cycle(parser, token):
"""
This is the future version of `cycle` with auto-escaping.