temp success made account page
This commit is contained in:
@@ -48,8 +48,7 @@ def handle_submission():
|
||||
db.session.add(new_user)
|
||||
db.session.commit()
|
||||
|
||||
return redirect(url_for('signup'))
|
||||
return print('account made')
|
||||
return redirect(url_for('success'))
|
||||
|
||||
|
||||
@app.route('/users')
|
||||
@@ -116,5 +115,9 @@ def signup():
|
||||
def all_users():
|
||||
return render_template('all_users.html')
|
||||
|
||||
@app.route('/success')
|
||||
def success():
|
||||
return render_template('success.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
<body>
|
||||
<h1>SUCCESSFULLY MADE ACCOUNT
|
||||
<button><a href="{{ url_for('signin') }}">click to go to sign in page</a></button>
|
||||
</body>
|
||||
Reference in New Issue
Block a user