Project

General

Profile

« Previous | Next » 

Revision f3407c83

Added by Jérôme Schneider over 11 years ago

dossiers: begin patient record edition

View differences:

calebasse/dossiers/models.py
149 149
            return None
150 150

  
151 151
    def save(self, **kwargs):
152
#        self.date_selected = \
153
#            datetime(self.date_selected.year,
154
#                self.date_selected.month, self.date_selected.day)
152
        self.date_selected = \
153
                datetime(self.date_selected.year,
154
                        self.date_selected.month, self.date_selected.day)
155 155
        super(FileState, self).save(**kwargs)
156 156

  
157 157
    def __unicode__(self):
......
171 171
    contacts = models.ManyToManyField('personnes.People',
172 172
            related_name='contact_of')
173 173
    birthdate = models.DateField(null=True, blank=True)
174
    nationality = models.CharField(max_length=70, null=True, blank=True)
174 175
    paper_id = models.CharField(max_length=12,
175 176
            null=True, blank=True)
176 177
    social_security_id = models.CharField(max_length=13)

Also available in: Unified diff