Fix bug with EmailLogBackend.send_messages.

The `logging.info` call was not properly using string interpolation.
This commit is contained in:
Steve Howell
2017-11-01 09:58:02 -07:00
parent ad374ad3c5
commit 85f605a978

View File

@@ -41,5 +41,5 @@ class EmailLogBackEnd(BaseEmailBackend):
for email in email_messages:
self.log_email(email)
email_log_url = settings.ROOT_DOMAIN_URI + "/emails"
logging.info("Emails sent in development are available at ", email_log_url)
logging.info("Emails sent in development are available at %s" % (email_log_url,))
return len(email_messages)