forked from DGNum/gestioCOF
Add some explanations about !379
This commit is contained in:
parent
381b52f46c
commit
085013b256
1 changed files with 3 additions and 0 deletions
|
@ -385,6 +385,9 @@ def revente_manage(request, tirage_id):
|
|||
user=request.user, tirage=tirage
|
||||
)
|
||||
|
||||
# If the participant has just been created, the `paid` field is not
|
||||
# automatically added by our custom ObjectManager. Skip the check in this
|
||||
# scenario.
|
||||
if not created and not participant.paid:
|
||||
return render(request, "bda/revente/notpaid.html", {})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue