Add some explanations about !379

This commit is contained in:
Martin Pépin 2019-12-01 11:33:44 +01:00
parent 381b52f46c
commit 085013b256
No known key found for this signature in database
GPG key ID: E7520278B1774448

View file

@ -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", {})