summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
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.