diff --git a/printer/views.py b/printer/views.py index 14c086e3..909ddd24 100644 --- a/printer/views.py +++ b/printer/views.py @@ -84,9 +84,7 @@ def new_job(request): i+=1 job_formset_filled_in = formset_factory(PrintForm, extra=0)( initial=data, - # jids=jids, - form_kwargs={'user': request.user, - }, + form_kwargs={'user': request.user}, ) if job_formset.total_error_count() == 0: @@ -150,7 +148,6 @@ def new_job(request): ### GET request else: - # raise Exception("Coucou2") job_formset = formset_factory(JobWithOptionsForm)( form_kwargs={'user': request.user} )