Remove interest-satisfying atomic()
This commit is contained in:
parent
0f5dbee24b
commit
f5ff777aa9
|
@ -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.')
|
logging.info('Session is in the past or too soon, not sending interest emails.')
|
||||||
return
|
return
|
||||||
|
|
||||||
with transaction.atomic():
|
|
||||||
interests = models.Interest.objects.filter(
|
interests = models.Interest.objects.filter(
|
||||||
course=session.course,
|
course=session.course,
|
||||||
satisfied_by__isnull=True,
|
satisfied_by__isnull=True,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user