Fix pep8 errors

This commit is contained in:
Jan Tuomi
2017-09-20 23:27:09 +03:00
parent 5d1238c23d
commit 0b779c4799
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -66,10 +66,10 @@ def ohlhafv_submit(request, *args, **kwargs):
form = OhlhafvForm(request.POST)
if form.is_valid():
form.save()
#return HttpResponseRedirect('/list/')
# return HttpResponseRedirect('/list/')
else:
pass
#return render(request, 'error.html', {'error': form.errors})
# return render(request, 'error.html', {'error': form.errors})
return HttpResponseRedirect('/ohlhafv/list/')