From 6bbb040fc42921b56cdeff671fe38dbdc3ca3778 Mon Sep 17 00:00:00 2001 From: Mael Lacour Date: Tue, 8 May 2018 21:15:43 +0200 Subject: [PATCH] [SharedEvent - Fix] Fix missing info about weights in post request --- finances/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/finances/views.py b/finances/views.py index 493312e1..efa800c1 100644 --- a/finances/views.py +++ b/finances/views.py @@ -1212,6 +1212,8 @@ def form_valid(self, form, **kwargs): se.weight_of_user = se.get_weight_of_user(self.request.user, se.done) # Si fini, on recupere la participation, sinon la preinscription se.total_weights_registrants = se.get_total_weights_registrants() se.total_weights_participants = se.get_total_weights_participants() + se.total_weights_registrants = se.get_total_weights_registrants() + se.total_weights_participants = se.get_total_weights_participants() context['shared_events'] = shared_events