🐛(mailbox) fix mailbox creation email language

Don't forget to translate mail content before sending.
This commit is contained in:
Sabrina Demagny
2025-03-09 23:55:00 +01:00
parent 7a128393f6
commit 701aeca763
5 changed files with 41 additions and 25 deletions

View File

@@ -136,7 +136,11 @@ class Base(Configuration):
# https://docs.djangoproject.com/en/3.1/topics/i18n/
# Languages
LANGUAGE_CODE = values.Value("en-us")
LANGUAGE_CODE = values.Value(
default="en-us",
environ_name="LANGUAGE_CODE",
environ_prefix=None,
)
DRF_NESTED_MULTIPART_PARSER = {
# output of parser is converted to querydict