From 13858b87f3633b9633c6052660433384f2505c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sun, 5 Jun 2016 23:13:22 +0200 Subject: [PATCH] =?UTF-8?q?=C3=89claircissement=20du=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bda/views.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bda/views.py b/bda/views.py index 51fd2de6..c1b80189 100644 --- a/bda/views.py +++ b/bda/views.py @@ -129,8 +129,10 @@ def inscription(request, tirage_id): { "error_title": "C'est fini !", "error_description": u"Tirage au sort dans la journée !", "choices": choices}) - BdaFormSet = inlineformset_factory(Participant, ChoixSpectacle, - fields=("spectacle","double_choice","priority"), formset=BaseBdaFormSet) + BdaFormSet = inlineformset_factory(Participant, + ChoixSpectacle, + fields=("spectacle","double_choice","priority"), + formset=BaseBdaFormSet) participant, created = Participant.objects.get_or_create( user=request.user, tirage=tirage) success = False