Eliminate hardcoded 'A' for ADMITTED

This commit is contained in:
Midgard 2020-07-25 16:33:20 +02:00
parent 45d62cee58
commit 6466c51111
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -58,5 +58,5 @@ def assign_reservations(self):
event_id=event.id,
user_id=user[0].id
)
r.state = 'A'
r.state = EventRegistration.ADMITTED
r.save()