Questions tagged [register.py]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
70 views

I am having difficulties registring users. After inserting the fields i don't get redirected to the home page.below is my code

@app.route("/register", methods=["GET","POST"]) def register(): session.clear() if request.method == "POST": # ensure username was submitted if not request.form.get("...
0
votes
1answer
1k views

Here is my code for register in finance pset7 it is giving strange error

When I don't include last two lines in code about"remembering user id" and redirect user to login the code is registering the user successfully into the table but when I enter these two lines in the ...