summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lxf-newsletter.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/lxf-newsletter.txt b/lxf-newsletter.txt
new file mode 100644
index 0000000..6eef369
--- /dev/null
+++ b/lxf-newsletter.txt
@@ -0,0 +1,6 @@
+from lttr.models import Newsletter, NewsletterMailing
+from lttr.mailer import SendShit
+n = Newsletter.objects.get(pk=2) # test newsletter
+m = NewsletterMailing.objects.get(pk=141) # mailing
+s = SendShit(n, m)
+s.send_mailings()