fix message liste_revente

This commit is contained in:
Ludovic Stephan 2016-09-25 12:12:31 +02:00
parent 81d1bc2750
commit a5e6a8e635

View file

@ -406,11 +406,11 @@ def list_revente(request, tirage_id):
if qset.exists():
# On l'inscrit à l'un des tirages au sort
for revente in qset.all():
if not revente.shotgun:
if revente.shotgun:
deja_revente = True
else:
revente.interested.add(participant)
break
deja_revente = True
else:
form = InscriptionReventeForm(
tirage,