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():
|
if qset.exists():
|
||||||
# On l'inscrit à l'un des tirages au sort
|
# On l'inscrit à l'un des tirages au sort
|
||||||
for revente in qset.all():
|
for revente in qset.all():
|
||||||
if not revente.shotgun:
|
if revente.shotgun:
|
||||||
|
deja_revente = True
|
||||||
|
else:
|
||||||
revente.interested.add(participant)
|
revente.interested.add(participant)
|
||||||
break
|
break
|
||||||
deja_revente = True
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
form = InscriptionReventeForm(
|
form = InscriptionReventeForm(
|
||||||
tirage,
|
tirage,
|
||||||
|
|
Loading…
Reference in a new issue