mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2024-12-28 18:36:21 +00:00
17 lines
456 B
Python
17 lines
456 B
Python
"""
|
|
Extensions used by the application
|
|
"""
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
from flask_migrate import Migrate
|
|
from flask_login import LoginManager
|
|
from flask_assets import Environment
|
|
from flask_compress import Compress
|
|
from flask_caching import Cache
|
|
|
|
db = SQLAlchemy()
|
|
migrate = Migrate()
|
|
login_manager = LoginManager()
|
|
assets = Environment()
|
|
compress = Compress()
|
|
cache = Cache(config={"CACHE_TYPE": "SimpleCache", "CACHE_DEFAULT_TIMEOUT": 300})
|