Révision d17efc19
Ajouté par Mikaël Ates (de retour le 29 avril) il y a plus de 9 ans
calebasse/dossiers/models.py | ||
---|---|---|
1063 | 1063 |
patient.policyholder = patient.patientcontact |
1064 | 1064 |
patient.save() |
1065 | 1065 |
return patient |
1066 |
|
|
1067 |
PatientRecord.DEFICIENCY_FIELDS = [field for field in PatientRecord._meta.get_all_field_names() if field.startswith('deficiency_')] |
|
1068 |
PatientRecord.MISES_FIELDS = [field for field in PatientRecord._meta.get_all_field_names() if field.startswith('mises_')] |
Formats disponibles : Unified diff
It is no longer possible in Django 1.7 to reference a model at import time.