Vibe coded a bit more ... now we have session, attached picture and analysis, MOA group computation
This commit is contained in:
14
extensions.py
Normal file
14
extensions.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from authlib.integrations.flask_client import OAuth
|
||||
from flask_jwt_extended import JWTManager
|
||||
from flask_login import LoginManager
|
||||
from flask_migrate import Migrate
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
|
||||
db = SQLAlchemy()
|
||||
login_manager = LoginManager()
|
||||
migrate = Migrate()
|
||||
oauth = OAuth()
|
||||
jwt = JWTManager()
|
||||
|
||||
login_manager.login_view = "auth.login"
|
||||
login_manager.login_message = "Please log in to access this page."
|
||||
Reference in New Issue
Block a user