remove winner flag on removed contestants

This commit is contained in:
Frédéric Péters 2011-07-31 12:05:13 +02:00
parent c1ed62140a
commit 6161c8cf0e
1 changed files with 1 additions and 0 deletions

View File

@ -48,5 +48,6 @@ class Participant(Item):
class Remove(BrowserView):
def __call__(self):
self.context.removed = True
self.context.winner = False
self.request.response.redirect('../participants')