1
0
Fork 0

Update utils.py

Fixing DJANGO_MAILBOX_default_charset error, it does not detect the settings in django correctly because one part is in lower case.
Changed to DJANGO_MAILBOX_DEFAULT_CHARSET.
This commit is contained in:
Robersillo 2023-04-25 19:06:36 +02:00 committed by GitHub
parent 462fdd3e49
commit 8f42cea164
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ def get_settings():
),
'default_charset': getattr(
settings,
'DJANGO_MAILBOX_default_charset',
'DJANGO_MAILBOX_DEFAULT_CHARSET',
'iso8859-1',
)
}