Exclude all kinds of Umlauts from GiroCodes (Fix: #1314)

This commit is contained in:
Martin Gross
2020-04-17 19:14:54 +02:00
parent 0783add3b9
commit 1d8668aaf1
4 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
import text_unidecode
from django import template
register = template.Library()
@register.filter
def unidecode(value):
return text_unidecode.unidecode(str(value))