From: Guillaume Pellerin Date: Mon, 28 Jul 2014 13:15:57 +0000 (+0200) Subject: add localize for scoring X-Git-Tag: 1.1~343 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f00a416b1b82b303085157599160b2be8e07a38f;p=teleforma.git add localize for scoring --- diff --git a/teleforma/exam/models.py b/teleforma/exam/models.py index 4dc437f6..debbff63 100644 --- a/teleforma/exam/models.py +++ b/teleforma/exam/models.py @@ -199,7 +199,7 @@ class Script(BaseResource): corrector = models.ForeignKey(User, related_name="corrector_scripts", verbose_name=_('corrector'), blank=True, null=True, on_delete=models.SET_NULL) file = models.FileField(_('PDF file'), upload_to='scripts/%Y/%m/%d', blank=True) box_uuid = models.CharField(_('Box UUID'), max_length='256', blank=True) - score = models.FloatField(_('score'), blank=True, null=True) + score = models.FloatField(_('score'), blank=True, null=True, localize=True) comments = models.TextField(_('comments'), blank=True) status = models.IntegerField(_('status'), choices=SCRIPT_STATUS, blank=True) reject_reason = models.CharField(_('reason'), choices=REJECT_REASON, max_length='256', blank=True)