forked from CGM_Public/pretix_original
Exclude all kinds of Umlauts from GiroCodes (Fix: #1314)
This commit is contained in:
9
src/pretix/base/templatetags/unidecode.py
Normal file
9
src/pretix/base/templatetags/unidecode.py
Normal 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))
|
||||
Reference in New Issue
Block a user