Revision 47b11707
Added by Jérôme Schneider over 12 years ago
calebasse/dossiers/models.py | ||
---|---|---|
60 | 60 |
editable=False) |
61 | 61 |
contacts = models.ManyToManyField('personnes.People', |
62 | 62 |
related_name='contact_of') |
63 |
birthdate = models.DateField() |
|
64 |
paper_id = models.CharField(max_length=12) |
|
63 | 65 |
|
64 | 66 |
def __init__(self, *args, **kwargs): |
65 | 67 |
super(PatientRecord, self).__init__(*args, **kwargs) |
Also available in: Unified diff
models: improve models to manage validation ac