Revision 9ec8b7a2
Added by Jérôme Schneider almost 11 years ago
calebasse/agenda/forms.py | ||
---|---|---|
83 | 83 |
appointment.end_datetime = appointment.start_datetime + timedelta( |
84 | 84 |
minutes=self.cleaned_data['duration']) |
85 | 85 |
appointment.creator = get_request().user |
86 |
appointment.title = appointment.patient.display_name |
|
87 | 86 |
appointment.clean() |
88 | 87 |
if commit: |
89 | 88 |
appointment.save() |
Also available in: Unified diff
agenda: don't store appoinment title into db