<gh_stars>0
from django import template


register = template.Library()


@register.filter()
def cut(value, arg):
    """Removes all values of arg from the given string."""
    return value.replace(arg, '')


from django import template


register = template.Library()


@register.filter()
def cut(value, arg):
    """Removes all values of arg from the given string."""
    return value.replace(arg, '')
Removes all values of arg from the given string.