diff --git a/notification/models.py b/notification/models.py index a0185da7..75d88572 100644 --- a/notification/models.py +++ b/notification/models.py @@ -88,7 +88,7 @@ class NoticeSetting(models.Model): user = models.ForeignKey(AUTH_USER_MODEL, verbose_name=_("user")) notice_type = models.ForeignKey(NoticeType, verbose_name=_("notice type")) medium = models.CharField(_("medium"), max_length=1, choices=NOTICE_MEDIA) - send = models.BooleanField(_("send")) + send = models.BooleanField(_("send"), default=False) class Meta: verbose_name = _("notice setting")