From: Guillaume Pellerin Date: Fri, 13 Jun 2014 23:25:51 +0000 (+0200) Subject: remove period from script form X-Git-Tag: 1.1~473 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6bb871d86783b905be81a14f953261556247c62f;p=teleforma.git remove period from script form --- diff --git a/teleforma/exam/views.py b/teleforma/exam/views.py index 18dcd764..20d13987 100644 --- a/teleforma/exam/views.py +++ b/teleforma/exam/views.py @@ -109,7 +109,7 @@ class ScriptCreateView(CreateView): def get_context_data(self, **kwargs): context = super(ScriptCreateView, self).get_context_data(**kwargs) context['period'] = Period.objects.get(id=self.kwargs['period_id']) - context['create_fields'] = ['course', 'period', 'session', 'type', 'file' ] + context['create_fields'] = ['course', 'session', 'type', 'file' ] return context @method_decorator(login_required)