GameExpo23/GameExpo/website/extensions.py
Michał Gdula a4ebfa8552 Fuck so much to comment on
Renamed the folders and containers to something more reasonable
Using .env file for secretes so I can better hide them from git
Mostly it, I think
2023-06-09 22:27:30 +03:00

11 lines
320 B
Python

from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
from flask_caching import Cache
from flask_assets import Environment
db = SQLAlchemy()
migrate = Migrate()
login_manager = LoginManager()
cache = Cache(config={"CACHE_TYPE": "simple"})
assets = Environment()