Commit 89f75056 authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

fix open edit page

parent c2812c8e
......@@ -53,8 +53,6 @@ class JobListView(ListView):
if action == 'log':
log = self.service.get_log(job_id)
return HttpResponse(log, content_type='text/plain')
if action == 'edit':
return HttpResponseRedirect(reverse('edit_job', kwargs={'id': job_id}))
@method_decorator(login_required, name='dispatch')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment