Commit 4d3c445a authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'fix/sendplannednewsletters' into 'master'

Fix planned newsletters command

See merge request !1266
parents 8cfedbb1 35a345a9
......@@ -7,9 +7,6 @@ from newsletters.models import Newsletter
class Command(BaseCommand):
def add_arguments(self, parser):
parser.add_argument('pk')
def handle(self, *args, **options):
newsletters = Newsletter.objects.filter(
send_date__lte=timezone.now(),
......
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