@register.filter
@stringfilter
def strip(string, char):  # pragma: nocover
    return string.strip(char)
Strip a specified character from a string
dataset/ETHPy150Open Wtower/django-ninecms/ninecms/templatetags/ninecms_extras.py/strip