From 8f42cea164c0a4d75688f1cf87edc9c3d0f8c019 Mon Sep 17 00:00:00 2001 From: Robersillo <31243904+Robersillo@users.noreply.github.com> Date: Tue, 25 Apr 2023 19:06:36 +0200 Subject: [PATCH] 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. --- django_mailbox/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_mailbox/utils.py b/django_mailbox/utils.py index 6603612..8e971a0 100644 --- a/django_mailbox/utils.py +++ b/django_mailbox/utils.py @@ -64,7 +64,7 @@ def get_settings(): ), 'default_charset': getattr( settings, - 'DJANGO_MAILBOX_default_charset', + 'DJANGO_MAILBOX_DEFAULT_CHARSET', 'iso8859-1', ) }