Initial App Commit with Login and Auth

This commit is contained in:
2025-02-11 02:16:46 +01:00
parent 8d88d265a8
commit 348f95d4f5
17 changed files with 927 additions and 3 deletions

View File

@ -0,0 +1,12 @@
from flask import Blueprint
import os
import importlib
main = Blueprint('main', __name__)
controllers_dir = os.path.dirname(__file__)
for filename in os.listdir(controllers_dir):
if filename.endswith('.py') and filename != '__init__.py':
module_name = f'app.controllers.{filename[:-3]}'
importlib.import_module(module_name)