2dee08dfb7
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
9 lines
136 B
Python
9 lines
136 B
Python
from django import template
|
|
|
|
register = template.Library()
|
|
|
|
def mul(value, arg=None):
|
|
return value*arg
|
|
|
|
register.filter('mul', mul)
|