diff --git a/bda/views.py b/bda/views.py index 29812b90..f33b7013 100644 --- a/bda/views.py +++ b/bda/views.py @@ -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", {})