]> git.parisson.com Git - teleforma.git/commitdiff
set is_subscribed default value to False
authorYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 14 May 2024 14:06:46 +0000 (16:06 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 14 May 2024 14:06:46 +0000 (16:06 +0200)
teleforma/models/core.py

index d4710530216cfb2e45b7972a311e5e3d94f59457..b75a5f1b892e8e3f1d9fd846a9a3de573dd8b08e 100755 (executable)
@@ -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)