use MANDRILL_SUBACCOUNT to match the API field

This commit is contained in:
Michael Hobbs
2014-04-11 14:24:31 -07:00
parent cd8c2b8760
commit 21e8727b1d

View File

@@ -50,7 +50,7 @@ class DjrillBackend(BaseEmailBackend):
self.api_key = getattr(settings, "MANDRILL_API_KEY", None)
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:
raise ImproperlyConfigured("You have not set your mandrill api key "