Project

General

Profile

« Previous | Next » 

Revision 1164bc89

Added by Mikaël Ates over 8 years ago

Add missing default values to BooleanFields.

View differences:

calebasse/ressources/models.py
470 470
class WorkerType(NamedAbstractModel):
471 471
    intervene = models.BooleanField(
472 472
            verbose_name=u'Intervenant',
473
            blank=True)
473
            default=True, blank=True)
474 474

  
475 475
    class Meta:
476 476
        verbose_name = u'Type de personnel'
......
573 573
class HolidayType(NamedAbstractModel):
574 574
    for_group = models.BooleanField(
575 575
            verbose_name=u'Absence de groupe',
576
            blank=True)
576
            default=True, blank=True)
577 577

  
578 578
    class Meta:
579 579
        verbose_name = u"Type d'absence"

Also available in: Unified diff