summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
Diffstat (limited to 'django/template')
-rw-r--r--django/template/library.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/django/template/library.py b/django/template/library.py
index 04f4a7322d..8a6c98ee09 100644
--- a/django/template/library.py
+++ b/django/template/library.py
@@ -1,9 +1,7 @@
import functools
-import warnings
from importlib import import_module
from django.utils import six
-from django.utils.deprecation import RemovedInDjango20Warning
from django.utils.html import conditional_escape
from django.utils.inspect import getargspec
from django.utils.itercompat import is_iterable
@@ -136,14 +134,6 @@ class Library(object):
else:
raise ValueError("Invalid arguments provided to simple_tag")
- def assignment_tag(self, func=None, takes_context=None, name=None):
- warnings.warn(
- "assignment_tag() is deprecated. Use simple_tag() instead",
- RemovedInDjango20Warning,
- stacklevel=2,
- )
- return self.simple_tag(func, takes_context, name)
-
def inclusion_tag(self, filename, func=None, takes_context=None, name=None):
"""
Register a callable as an inclusion tag: