Commit a097832c authored by Thom Wiggers's avatar Thom Wiggers 📐 Committed by Sébastiaan Versteeg
Browse files

Merge branch 'fix/sendplannednewsletters' into 'master'

Fix planned newsletters command

See merge request !1266

(cherry picked from commit 4d3c445a)

35a345a9 Fix planned newsletters command
parent 44979b0b
......@@ -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