Some blank lines

This commit is contained in:
2016-02-24 14:37:07 +01:00
parent 6332b49eac
commit 7c66399c8f

View File

@@ -105,8 +105,6 @@ def profile(request, pk):
for item in request.POST:
debug.append(str(item) + " -> " + str(request.POST[item]))
# Invalid form or forms - mistakes or something else?
# Print problems to the terminal.
# They'll also be shown to the user.
@@ -114,6 +112,7 @@ def profile(request, pk):
print user_form.errors, profile_form.errors
return redirect( '/accounts/profile/' + str(user.id) )
# Not a HTTP POST, so we render our form using two ModelForm instances.
# These forms will be blank, ready for user input.
else: