Order-exports: localize salutation (#3160)

This commit is contained in:
Richard Schreiber
2023-03-22 13:12:38 +01:00
committed by GitHub
parent c52ebb4ba9
commit 8a6488fd81
4 changed files with 15 additions and 17 deletions

View File

@@ -221,7 +221,7 @@ class Customer(LoggedModel):
return salted_hmac(key_salt, payload).hexdigest()
def get_email_context(self):
from pretix.base.email import get_name_parts_localized
from pretix.base.settings import get_name_parts_localized
ctx = {
'name': self.name,
'organizer': self.organizer.name,