1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

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( 'default_charset': getattr(
settings, settings,
'DJANGO_MAILBOX_default_charset', 'DJANGO_MAILBOX_DEFAULT_CHARSET',
'iso8859-1', 'iso8859-1',
) )
} }