We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6782099 commit bbfe4daCopy full SHA for bbfe4da
notification/models.py
@@ -87,7 +87,7 @@ class NoticeSetting(models.Model):
87
88
user = models.ForeignKey(AUTH_USER_MODEL, verbose_name=_("user"))
89
notice_type = models.ForeignKey(NoticeType, verbose_name=_("notice type"))
90
- medium = models.CharField(_("medium"), max_length=1, choices=NOTICE_MEDIA)
+ medium = models.IntegerField(_("medium"), choices=NOTICE_MEDIA)
91
send = models.BooleanField(_("send"))
92
93
class Meta:
0 commit comments