Merge branch 'master' into Docker
This commit is contained in:
commit
90b4641a03
@ -229,7 +229,7 @@ class RecordableObjectMixin(models.Model):
|
|||||||
|
|
||||||
shared_users = self.users.all().values_list("id", flat=True)
|
shared_users = self.users.all().values_list("id", flat=True)
|
||||||
for user_id in shared_users:
|
for user_id in shared_users:
|
||||||
celery_send_mail_shared_data_unrecorded(self.identifier, user_id)
|
celery_send_mail_shared_data_unrecorded.delay(self.identifier, user_id)
|
||||||
|
|
||||||
return action
|
return action
|
||||||
|
|
||||||
@ -251,7 +251,7 @@ class RecordableObjectMixin(models.Model):
|
|||||||
|
|
||||||
shared_users = self.users.all().values_list("id", flat=True)
|
shared_users = self.users.all().values_list("id", flat=True)
|
||||||
for user_id in shared_users:
|
for user_id in shared_users:
|
||||||
celery_send_mail_shared_data_recorded(self.identifier, user_id)
|
celery_send_mail_shared_data_recorded.delay(self.identifier, user_id)
|
||||||
|
|
||||||
return action
|
return action
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user