]> git.parisson.com Git - teleforma.git/commitdiff
remove period from script form
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 13 Jun 2014 23:25:51 +0000 (01:25 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 13 Jun 2014 23:25:51 +0000 (01:25 +0200)
teleforma/exam/views.py

index 18dcd76435fe8a3d1ad2588d25eeba70f11ffb1b..20d139872479702647bac6d8d26c3016532e2ba7 100644 (file)
@@ -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)