From: Yoan Le Clanche Date: Tue, 14 May 2024 07:38:51 +0000 (+0200) Subject: Set student is_subscribed to true by default X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=64e5e39a2e043199f751efe0ff89481395859ad0;p=teleforma.git Set student is_subscribed to true by default --- diff --git a/teleforma/models/core.py b/teleforma/models/core.py index f84f0ebc..d4710530 100755 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -991,7 +991,7 @@ class StudentMixin(models.Model): promo_code = models.CharField(_('promo code'), blank=True, max_length=100) date_registered = models.DateTimeField(_('registration date'), auto_now_add=True, null=True, blank=True) date_subscribed = models.DateTimeField(_('subscription date'), null=True, blank=True) - is_subscribed = models.BooleanField(_('subscribed')) + is_subscribed = models.BooleanField(_('subscribed'), default=True) confirmation_sent = models.BooleanField(_('confirmation sent')) level = models.CharField(_('studying level'), blank=True, max_length=100)