From 9252536df4bfa92cd064ea000807675545c0d5ff Mon Sep 17 00:00:00 2001 From: Yoan Le Clanche Date: Tue, 14 May 2024 16:06:46 +0200 Subject: [PATCH] set is_subscribed default value to False --- teleforma/models/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/models/core.py b/teleforma/models/core.py index d4710530..b75a5f1b 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'), default=True) + is_subscribed = models.BooleanField(_('subscribed'), default=False) confirmation_sent = models.BooleanField(_('confirmation sent')) level = models.CharField(_('studying level'), blank=True, max_length=100) -- 2.39.5