From 39aebec122ea0d288ef6a6aca58dddae0f831223 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 26 Apr 2018 11:38:56 +0200 Subject: [PATCH] Fix more periods --- teleforma/exam/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teleforma/exam/views.py b/teleforma/exam/views.py index 43011097..15ab2af7 100644 --- a/teleforma/exam/views.py +++ b/teleforma/exam/views.py @@ -321,6 +321,7 @@ class ScriptsScoreAllView(ScriptsTreatedView): def get_context_data(self, **kwargs): context = super(ScriptsScoreAllView, self).get_context_data(**kwargs) user = self.request.user + period = Period.objects.get(id=self.kwargs['period_id']) if self.request.user.is_staff: QT = Q(status=4, period=period) -- 2.39.5