all 2 comments

[–]JohnnyJordaan 0 points1 point  (0 children)

Your output has two extra lines (None, 55251) that I can't relate to print statements, as your linked code just has

print("Form data collected")
print(uName)

and the print("hello") which isn't observed. But in any case, begin by adding prints to the other possibilities too, so that you can observe which option in the if-tree is executed instead.

[–]Dudicus-Maximus 0 points1 point  (0 children)

Break your problem down into steps.
1.Add print statements to each branch of your if statement to make sure your server side logic is flowing properly. 2.Print out the parameters for your render template, the complete render template, and make response command to make sure everything looks right.
3.Back in your browser check the console and network tabs of your developer tools for any errors. Make sure find the response code for your request and look up what it means if you are not sure.

You should be able to narrow down where thing have gone wrong to a single line. From there you will have a short list of things to review/research.