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