def handle(self, *args, **options): # if options['reset']: # clear_all_save_the_dates() sender = options['sender'] if sender not in ["aleksi", "marika"]: print("unknown sender try aleksi or marika") return send_all_invitations(test_only=False, mark_as_sent=True, sender=sender)
def handle(self, *args, **options): send_all_invitations(options)
def handle(self, *args, **options): send_all_invitations(test_only=not options['send'], mark_as_sent=options['mark_sent'])
def handle(self, *args, **options): if options['reset']: raise NotImplementedError send_all_invitations(test_only=not options['send'], mark_as_sent=options['mark_sent'])
def handle(self, *args, **options): if options['reset']: clear_all_save_the_dates() send_all_invitations(test_only=not options['send'], mark_as_sent=options['mark_sent'])