From f032bbc8b107ab9274542f8d233fc88aa1c6e04d Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 7 Nov 2016 18:19:34 -0500 Subject: Refs #18651 -- Removed assignment_tag per deprecation timeline. --- django/template/library.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'django/template') 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: -- cgit v1.3