Пример #1
0
 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)
Пример #2
0
 def handle(self, *args, **options):
     send_all_invitations(options)
Пример #3
0
 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'])
Пример #5
0
 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'])