mozillahispano / mozevents

Django app to handle Mozilla parties and events
http://www.mozilla-hispano.org
Other
10 stars 8 forks source link

Marking a place as pending on a non-queued event show incorrect places left #66

Open nukeador opened 10 years ago

nukeador commented 10 years ago

If an event has places left and you mark from the admin a registration as "Mark as pending and send an email for confirmation", the placesLeft counts goes zero due:

https://github.com/mozillahispano/mozevents/blob/master/events/models.py#L45

We should find a way to avoid a registration to be marked as pending if the event has no queue.

https://github.com/mozillahispano/mozevents/blob/master/events/admin.py#L98