Fix pep8 errors
This commit is contained in:
+2
-2
@@ -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/')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user