11 lines
140 B
Python
11 lines
140 B
Python
|
from django import template
|
||
|
|
||
|
register = template.Library()
|
||
|
|
||
|
|
||
|
@register.filter
|
||
|
def currency(value):
|
||
|
return "{0:.2f} DKK".format(value)
|
||
|
|
||
|
|