Projet

Général

Profil

« Précédent | Suivant » 

Révision 95a3734b

Ajouté par Frédéric Péters il y a plus de 9 ans

actes: call super() with proper args in UpdateActView class

Voir les différences:

calebasse/actes/views.py
114 114
    success_url = '..'
115 115

  
116 116
    def form_valid(self, form):
117
        result = super(UpdateView, self).form_valid(form)
117
        result = super(UpdateActView, self).form_valid(form)
118 118
        if self.object.event:
119 119
            doctors = copy.copy(self.object.doctors.all())
120 120
            self.object.event.participants =  doctors

Formats disponibles : Unified diff