<filename>portal/templatetags/mul.py
from django import template

register = template.Library()

@register.filter
def mul(value, arg):
	arg = int(arg)
	return int(value * arg)
<filename>portal/templatetags/mul.py
from django import template

register = template.Library()

@register.filter
def mul(value, arg):
	arg = int(arg)
	return int(value * arg)