mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 20:01:05 -05:00
use MANDRILL_SUBACCOUNT to match the API field
This commit is contained in:
@@ -50,7 +50,7 @@ class DjrillBackend(BaseEmailBackend):
|
|||||||
self.api_key = getattr(settings, "MANDRILL_API_KEY", None)
|
self.api_key = getattr(settings, "MANDRILL_API_KEY", None)
|
||||||
self.api_url = MANDRILL_API_URL
|
self.api_url = MANDRILL_API_URL
|
||||||
|
|
||||||
self.subaccount = getattr(settings, "MANDRILL_SUB_ACCOUNT", None)
|
self.subaccount = getattr(settings, "MANDRILL_SUBACCOUNT", None)
|
||||||
|
|
||||||
if not self.api_key:
|
if not self.api_key:
|
||||||
raise ImproperlyConfigured("You have not set your mandrill api key "
|
raise ImproperlyConfigured("You have not set your mandrill api key "
|
||||||
|
|||||||
Reference in New Issue
Block a user