SARBase/dashboard.py

10 lines
241 B
Python
Raw Permalink Normal View History

2023-10-30 14:48:00 +00:00
from app import app
from flask import render_template
from flask_login import login_required, current_user
2023-11-01 18:46:27 +00:00
2023-10-30 14:48:00 +00:00
@app.route('/dashboard')
@login_required
def dashboard():
return render_template('dashboard.html', name=current_user.full_name)