]> git.parisson.com Git - teleforma.git/commitdiff
Fix registration error
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 15 May 2024 09:29:47 +0000 (11:29 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 15 May 2024 09:29:47 +0000 (11:29 +0200)
teleforma/models/core.py

index b75a5f1b892e8e3f1d9fd846a9a3de573dd8b08e..a1d360ff02114c0e0266f9605ee44d26074386c0 100755 (executable)
@@ -992,7 +992,7 @@ class StudentMixin(models.Model):
     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=False)
-    confirmation_sent = models.BooleanField(_('confirmation sent'))
+    confirmation_sent = models.BooleanField(_('confirmation sent'), default=False)
     level = models.CharField(_('studying level'), blank=True, max_length=100)
 
     balance = models.FloatField(_('balance de paiement'), help_text='€', blank=True, null=True)