if instance status instance __class__ SUBMITTED_CHOICE and not instanc

1
2
3
if instance.status == instance.__class__.SUBMITTED_CHOICE and not instance.is_sent:
thread = NotificationEmail(instance)
thread.run()