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/dossiers/models.py
261 261
            verbose_name=u'Adresse complète', editable=False)
262 262
    phone = PhoneNumberField(verbose_name=u"Téléphone", blank=True, null=True)
263 263
    fax = PhoneNumberField(verbose_name=u"Fax", blank=True, null=True)
264
    place_of_life = models.BooleanField(verbose_name=u"Lieu de vie")
264
    place_of_life = models.BooleanField(verbose_name=u"Lieu de vie",
265
            default=True)
265 266
    number = models.CharField(max_length=12,
266 267
            verbose_name=u"Numéro", blank=True, null=True)
267 268
    recipient = models.CharField(max_length=100,

Also available in: Unified diff