nonstop.py 256 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
from django.template import Library

from .. import utils

register = Library()


@register.filter
def is_already_in_soma(diffusion):
    return utils.is_already_in_soma(diffusion)
fred's avatar
fred committed
11 12 13 14

@register.filter
def somafix(value):
    return value.replace('&', 'and')