from django.template import Library
register = Library()

@register.filter
def multiply(string, times):
    return string * times
Is there a django template equivalent of the python string multiplication function?