Revision 8630b77b
Added by Mikaël Ates over 12 years ago
calebasse/dossiers/views.py | ||
---|---|---|
26 | 26 |
from calebasse.ressources.models import (Service, |
27 | 27 |
SocialisationDuration, MDPHRequest, MDPHResponse) |
28 | 28 |
|
29 |
from calebasse.decorators import validator_only |
|
29 | 30 |
|
30 | 31 |
def get_next_rdv(patient_record): |
31 | 32 |
next_rdv = {} |
... | ... | |
453 | 454 |
success_url = ".." |
454 | 455 |
template_name = 'dossiers/patientrecord_confirm_delete.html' |
455 | 456 |
|
456 |
patientrecord_delete = PatientRecordDeleteView.as_view()
|
|
457 |
patientrecord_delete = validator_only(PatientRecordDeleteView.as_view())
|
|
457 | 458 |
|
458 | 459 |
|
459 | 460 |
class PatientRecordPaperIDUpdateView(cbv.UpdateView): |
Also available in: Unified diff
authorization: restrict access to delete dossier view.