Denied is not a thing any more

This commit is contained in:
Midgard 2020-07-25 16:23:26 +02:00
parent db4074ab33
commit 45d62cee58
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -60,12 +60,3 @@ def assign_reservations(self):
)
r.state = 'A'
r.save()
for user in event_queue[event.capacity:]:
print(f"Denied {user[0]}")
r = EventRegistration.objects.get(
event_id=event.id,
user_id=user[0].id
)
r.state = 'D'
r.save()