script_type=self.type)
if not quotas:
quotas = self.course.quotas.filter(date_start__lte=self.date_submitted,
- date_end__gte=self.date_submitted)
+ date_end__gte=self.date_submitted,
+ script_type=None)
if quotas:
for quota in quotas:
if quota.value:
lower_quota = sorted(quota_list, key=lambda k: k['level'])[0]
self.corrector = lower_quota['obj'].corrector
else:
+ #FIXME: default corrector goes to settings
self.corrector = User.objects.filter(is_superuser=True)[1]
self.status = 3
def score_data_setup(self, x, y):
if not x['x']:
- messages.warning(self.request, _("You must add one new score at least to access to the statistics."))
+ messages.warning(self.request, _("You must add your score to access to the statistics."))
chartdata = x
i = 1
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-08-04 22:52+0200\n"
+"POT-Creation-Date: 2015-08-05 01:43+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Guillaume Pellerin <yomguy@parisson.com>\n"
"Language-Team: LANGUAGE <lists@parisson.com>\n"
msgid "period"
msgstr "période"
-#: exam/models.py:62 exam/models.py:436
+#: exam/models.py:62 exam/models.py:438
msgid "rejected"
msgstr "rejetée"
msgid "pending"
msgstr "en attente"
-#: exam/models.py:63 exam/models.py:421
+#: exam/models.py:63 exam/models.py:423
msgid "marked"
msgstr "corrigée"
msgid "Session"
msgstr "Séance"
-#: exam/models.py:258 exam/models.py:420 exam/models.py:435
+#: exam/models.py:258 exam/models.py:422 exam/models.py:437
msgid "Script"
msgstr "Copie"
"votre fichier ou de réessayer plus tard."
#: exam/views.py:217
-msgid "You must add one new score at least to access to the statistics."
+msgid "You must add your score to access to the statistics."
msgstr ""
#: exam/views.py:282
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-08-04 22:52+0200\n"
+"POT-Creation-Date: 2015-08-05 01:43+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Guillaume Pellerin <yomguy@parisson.com>\n"
"Language-Team: LANGUAGE <lists@parisson.com>\n"
msgid "period"
msgstr "période"
-#: exam/models.py:62 exam/models.py:436
+#: exam/models.py:62 exam/models.py:438
msgid "rejected"
msgstr "rejetée"
msgid "pending"
msgstr "en attente"
-#: exam/models.py:63 exam/models.py:421
+#: exam/models.py:63 exam/models.py:423
msgid "marked"
msgstr "corrigée"
msgid "Session"
msgstr "Séance"
-#: exam/models.py:258 exam/models.py:420 exam/models.py:435
+#: exam/models.py:258 exam/models.py:422 exam/models.py:437
msgid "Script"
msgstr "Copie"
"votre fichier ou de réessayer plus tard."
#: exam/views.py:217
-msgid "You must add one new score at least to access to the statistics."
-msgstr ""
-"Vous devez ajouter au moins une nouvelle note pour accéder aux statistiques."
+msgid "You must add your score to access to the statistics."
+msgstr "Vous devez ajouter votre note pour accéder aux statistiques."
#: exam/views.py:282
msgid "all courses"