Révision 0a8aab32
Ajouté par Serghei Mihai il y a plus de 9 ans
calebasse/dossiers/views.py | ||
---|---|---|
99 | 99 |
template_name = 'dossiers/patientcontact_new.html' |
100 | 100 |
success_url = '../../view#tab=2' |
101 | 101 |
|
102 |
def form_valid(self, form): |
|
103 |
valid = super(UpdatePatientContactView, self).form_valid(form) |
|
104 |
messages.info(self.request, u'Modification enregistrée avec succès') |
|
105 |
return valid |
|
106 |
|
|
102 | 107 |
update_patient_contact = UpdatePatientContactView.as_view() |
103 | 108 |
|
104 | 109 |
class DeletePatientContactView(cbv.DeleteView): |
Formats disponibles : Unified diff
dossiers: notification displayed when updates done on patient addresses/contacts
Closes #4807