Fix Commit history

This commit is contained in:
Michał Gdula 2023-06-11 20:44:00 +01:00
parent a29f06dfee
commit d26d8cb021
70 changed files with 674 additions and 477 deletions

11
TFR/server/extensions.py Normal file
View file

@ -0,0 +1,11 @@
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_assets import Environment
from flask_caching import Cache
from flask_login import LoginManager
db = SQLAlchemy()
migrate = Migrate()
assets = Environment()
cache = Cache(config={"CACHE_TYPE": "simple"})
login_manager = LoginManager()