Write newsletter html to file on sending
Closes #321 (closed)
Short description
Generates media/newsletters/pk_lang.html when sending a newsletter's mail, and displays this from thereon. Also adds a "createnewsletterhtml" command that generates html files for already-existing newsletters.
Steps to use this feature
- Create a newsletter
- All changes in the admin panel are reflected in /newsletters/<pk>
- Send using /newsletters/admin/send/<pk>
- Making changes to the newsletter or template now no longer changes /newsletters/<pk>
- Running "<manage.py> createnewsletterhtml [--include-unsent] server-name server-port" writes all previous newsletters to file.
Edited by Ghost User