Skip to content

Commit

Permalink
[SharedEvent - Fix] Fix missing info about weights in post request
Browse files Browse the repository at this point in the history
  • Loading branch information
Mael Lacour committed May 8, 2018
1 parent 5e24560 commit c93fcda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions finances/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,8 @@ def form_valid(self, form, **kwargs):

for se in shared_events: # Duplicate
se.weight_of_user = se.get_weight_of_user(self.request.user, se.done) # Si fini, on recupere la participation, sinon la preinscription
se.number_registrants = se.get_number_registrants()
se.number_participants = se.get_number_participants()
se.total_weights_registrants = se.get_total_weights_registrants()
se.total_weights_participants = se.get_total_weights_participants()

Expand Down

0 comments on commit c93fcda

Please sign in to comment.