This commit is contained in:
ralphi3
2026-06-18 11:25:40 +12:00
parent 9de5e72bb4
commit 7354f8a160
5 changed files with 13 additions and 0 deletions
+5
View File
@@ -46,6 +46,7 @@ def success():
def view_users():
all_users = User.query.all()
html_output = "<h2>Registered Accounts</h2><table border='1' cellpadding='10'>"
html_output += "<tr><th>ID</th><th>Username</th><th>Email</th></tr>"
@@ -80,5 +81,9 @@ def signin():
def signup():
return render_template('signup.html')
@app.route('/all_users')
def all_users():
return render_template('all_users.html')
if __name__ == '__main__':
app.run(debug=True)