This commit is contained in:
2025-06-29 23:13:26 +03:00
parent dfb662c646
commit fb2a96e94d
17 changed files with 256 additions and 3 deletions

9
app/routes/topics.py Normal file
View File

@ -0,0 +1,9 @@
from flask import Blueprint, render_template
from ..models import Users
bp = Blueprint("topics", __name__, url_prefix = "/topics/")
@bp.get("/")
def all_topics():
admin = Users.find({"id": 1})
return render_template("topics/topics.html", admin = admin)