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()