forked from DGNum/gestioCOF
fix message liste_revente
This commit is contained in:
parent
81d1bc2750
commit
a5e6a8e635
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue