diff --git a/ietf/doc/models.py b/ietf/doc/models.py index 063e66e94..a1b25de30 100644 --- a/ietf/doc/models.py +++ b/ietf/doc/models.py @@ -590,7 +590,7 @@ class StateDocEvent(DocEvent): state = models.ForeignKey(State, blank=True, null=True) class ConsensusDocEvent(DocEvent): - consensus = models.BooleanField() + consensus = models.BooleanField(default=False) # IESG events class BallotType(models.Model): diff --git a/ietf/ipr/models.py b/ietf/ipr/models.py index c8655b94d..a820456da 100644 --- a/ietf/ipr/models.py +++ b/ietf/ipr/models.py @@ -72,7 +72,7 @@ class IprDetail(models.Model): lic_opt_b_sub = models.IntegerField(null=True, editable=False, choices=STDONLY_CHOICES) lic_opt_c_sub = models.IntegerField(null=True, editable=False, choices=STDONLY_CHOICES) comments = models.TextField("Licensing Comments", blank=True) - lic_checkbox = models.BooleanField("All terms and conditions has been disclosed") + lic_checkbox = models.BooleanField("All terms and conditions has been disclosed", default=False) # Other notes fieldset @@ -80,9 +80,9 @@ class IprDetail(models.Model): # Generated fields, not part of the submission form # Hidden fields - third_party = models.BooleanField() - generic = models.BooleanField() - comply = models.BooleanField() + third_party = models.BooleanField(default=False) + generic = models.BooleanField(default=False) + comply = models.BooleanField(default=False) status = models.IntegerField(null=True, blank=True, choices=STATUS_CHOICES) submitted_date = models.DateField(blank=True) diff --git a/ietf/nomcom/models.py b/ietf/nomcom/models.py index ff6d8c8f4..734397337 100644 --- a/ietf/nomcom/models.py +++ b/ietf/nomcom/models.py @@ -38,9 +38,9 @@ class NomCom(models.Model): upload_to=upload_path_handler, blank=True, null=True) group = models.ForeignKey(Group) - send_questionnaire = models.BooleanField(verbose_name='Send automatically questionnaires"', - help_text='If you check this box, questionnaires are sent automatically after nominations') - reminder_interval = models.PositiveIntegerField(help_text='If the nomcom user the interval field then a cron command will \ + send_questionnaire = models.BooleanField(verbose_name='Send questionnaires automatically"', default=False, + help_text='If you check this box, questionnaires are sent automatically after nominations') + reminder_interval = models.PositiveIntegerField(help_text='If the nomcom user sets the interval field then a cron command will \ send reminders to the nominees who have not responded using \ the following formula: (today - nomination_date) % interval == 0', blank=True, null=True) @@ -142,7 +142,7 @@ class Position(models.Model): description = models.TextField(verbose_name='Description') requirement = models.ForeignKey(DBTemplate, related_name='requirement', null=True, editable=False) questionnaire = models.ForeignKey(DBTemplate, related_name='questionnaire', null=True, editable=False) - is_open = models.BooleanField(verbose_name='Is open') + is_open = models.BooleanField(verbose_name='Is open', default=False) incumbent = models.ForeignKey(Email, null=True, blank=True) objects = PositionManager()