From d43db12d177c0ea3d10ed57ea2c885801257f6a0 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 26 Jan 2018 00:23:52 +0100 Subject: [PATCH] Fix script access for superuser --- teleforma/exam/models.py | 1 - teleforma/exam/templates/exam/script_detail.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/teleforma/exam/models.py b/teleforma/exam/models.py index b38114e2..338a3140 100644 --- a/teleforma/exam/models.py +++ b/teleforma/exam/models.py @@ -449,7 +449,6 @@ class Script(BaseResource): # self.box_upload() if not self.corrector: self.auto_set_corrector() - self.status = 3 def mark(self): self.date_marked = datetime.datetime.now() diff --git a/teleforma/exam/templates/exam/script_detail.html b/teleforma/exam/templates/exam/script_detail.html index 487d4090..d18fc5cb 100644 --- a/teleforma/exam/templates/exam/script_detail.html +++ b/teleforma/exam/templates/exam/script_detail.html @@ -123,7 +123,7 @@

-
-- 2.39.5