summaryrefslogtreecommitdiff
path: root/app/lttr/send.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/lttr/send.py')
-rw-r--r--app/lttr/send.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/lttr/send.py b/app/lttr/send.py
new file mode 100644
index 0000000..cd012e2
--- /dev/null
+++ b/app/lttr/send.py
@@ -0,0 +1,6 @@
+from lttr.models import Newsletter, NewsletterMailing
+from lttr.mailer import SendShit
+n = Newsletter.objects.get(pk=tk)
+m = NewsletterMailing.objects.get(pk=tk)
+s = SendShit(n, m)
+s.send_mailings()