more cleaning
This commit is contained in:
@@ -52,7 +52,6 @@ def handle_submission():
|
||||
|
||||
|
||||
@app.route('/users')
|
||||
@login_required
|
||||
def view_users():
|
||||
all_users = User.query.all()
|
||||
|
||||
@@ -65,7 +64,7 @@ def view_users():
|
||||
html_output += "</table>"
|
||||
|
||||
if not all_users:
|
||||
return "<h3>No accounts found in the database yet.</h3>"
|
||||
return "<h3>emptyyyyy daaatabase</h3>"
|
||||
|
||||
return html_output
|
||||
|
||||
@@ -75,6 +74,7 @@ def home():
|
||||
return render_template('index.html')
|
||||
|
||||
@app.route('/bivariate')
|
||||
@login_required
|
||||
def bivariate():
|
||||
return render_template('bivariate.html')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user