Set newsletter sent to True on management command

parent 38b9cb5b
......@@ -14,3 +14,5 @@ class Command(BaseCommand):
)
for n in newsletters:
emails.send_newsletter(n)
n.sent = True
n.save()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment