Skip to content

Commit

Permalink
Replacing CharField for IntegerField for NoticeSetting model.
Browse files Browse the repository at this point in the history
Fixes pinax#21
  • Loading branch information
Arturo Fernandez committed Sep 1, 2014
1 parent 6782099 commit bbfe4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,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)
medium = models.IntegerField(_("medium"), choices=NOTICE_MEDIA)
send = models.BooleanField(_("send"))

class Meta:
Expand Down

0 comments on commit bbfe4da

Please sign in to comment.