Project

General

Profile

« Previous | Next » 

Revision 1164bc89

Added by Mikaël Ates over 9 years ago

Add missing default values to BooleanFields.

View differences:

calebasse/agenda/models.py
69 69
    exception_date = models.DateField(blank=True, null=True,
70 70
            verbose_name=u'Reporté du', db_index=True)
71 71
    # canceled can only be used with exception to
72
    canceled = models.BooleanField(_('Annulé'), db_index=True)
72
    canceled = models.BooleanField(_('Annulé'), db_index=True, default=False)
73 73

  
74 74
    PERIODS = (
75 75
            (1, u'Toutes les semaines'),
......
575 575
        verbose_name=u'Type d\'acte')
576 576
    patient = models.ForeignKey('dossiers.PatientRecord')
577 577
    convocation_sent = models.BooleanField(blank=True,
578
        verbose_name=u'Convoqué', db_index=True)
578
        verbose_name=u'Convoqué', db_index=True, default=False)
579 579

  
580 580

  
581 581
    @property

Also available in: Unified diff