djangosnippets.org: Latest snippets posted by hunterfordhttps://djangosnippets.org/users/hunterford/2010-10-01T17:45:07.517540-05:00hunterfordHTML Email with Inline Attachments (images)
2010-10-01T17:45:07.517540-05:00hunterfordhttps://djangosnippets.org/snippets/2215/<p>This will allow you to attach HTML multipart emails (HTML/text) and use inline images.</p>
<p>In my example, I'm attaching an image that's stored as an 'attachment' to an 'event.' The file name of the attachment is called "inline.jpg" and I'm referencing it in my HTML message. I'm also attaching a …</p>
Freely redistributableCustom Model Manager Chaining
2010-07-19T10:14:56.233918-05:00hunterfordhttps://djangosnippets.org/snippets/2114/<p>Using Python mixins, you can chain methods on your queryset.
</p>
Freely redistributable