RyanBalfanz / django-sendgrid

SendGrid for Django
http://pypi.python.org/pypi/django-sendgrid
97 stars 26 forks source link

sengrid_headers are not unique per instance #4

Closed blanchardjeremy closed 12 years ago

blanchardjeremy commented 12 years ago

Currently if I create two messages right after one another and send them both, the same instance of headers is used per object instead of having unique headers.

This is due to how where you declared the sendgrid_headers. It's at the class level instead of in init.