Added missing comma in example code

This commit is contained in:
Omen Apps
2020-12-27 18:30:46 -05:00
committed by Mike Edmunds
parent 6d0374e1ce
commit 3e0056fa2f

View File

@@ -356,7 +356,7 @@ handlebars templates, and you're only sending to one recipient at a time, here's
# This works only for a single recipient, and is not at all portable between ESPs.
message = EmailMessage(
from_email="shipping@example.com",
to=["alice@example.com"] # single recipient *only* (no batch send)
to=["alice@example.com"], # single recipient *only* (no batch send)
subject="Your order has shipped", # recipient variables *not* available
)
message.template_id = 'shipping-notification' # name of template in our account