Remove unused contains filter

This commit is contained in:
Jeremy Stretch 2020-03-09 10:38:29 -04:00
parent 1423fd9024
commit 1069ad21d8

View File

@ -92,14 +92,6 @@ def url_name(model, action):
return None
@register.filter()
def contains(value, arg):
"""
Test whether a value contains any of a given set of strings. `arg` should be a comma-separated list of strings.
"""
return any(s in value for s in arg.split(','))
@register.filter()
def bettertitle(value):
"""