Files
findings/pages/index.py

8 lines
252 B
Python
Raw Normal View History

2025-08-10 23:42:02 +02:00
from flask import Blueprint, render_template
from models import db, User
index_bp = Blueprint('index', __name__)
@index_bp.route('/')
def index():
return render_template('home.html',users=User.query.limit(20).all()) # or your index page template