This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
|
from django import template
|
|
from decimal import Decimal
|
|
|
|
register = template.Library()
|
|
|
|
@register.filter
|
|
def decimal(value):
|
|
return Decimal(value)
|
|
|