mirror of
https://github.com/simple-login/app.git
synced 2024-11-03 12:21:02 +01:00
10 lines
231 B
Python
10 lines
231 B
Python
from flask_login import LoginManager
|
|
from flask_migrate import Migrate
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
|
|
|
|
db = SQLAlchemy()
|
|
login_manager = LoginManager()
|
|
login_manager.session_protection = "strong"
|
|
migrate = Migrate(db=db)
|