Remove interest-satisfying atomic()
This commit is contained in:
@@ -313,7 +313,6 @@ class SessionViewSet(Base, List, Retrieve, Create, Update):
|
||||
logging.info('Session is in the past or too soon, not sending interest emails.')
|
||||
return
|
||||
|
||||
with transaction.atomic():
|
||||
interests = models.Interest.objects.filter(
|
||||
course=session.course,
|
||||
satisfied_by__isnull=True,
|
||||
|
Reference in New Issue
Block a user