test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user