You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
557 B
17 lines
557 B
# -*- coding: utf-8 -*-
|
|
"""Extensions module. Each extension is initialized in the app factory located in app.py."""
|
|
from flask_bcrypt import Bcrypt
|
|
from flask_caching import Cache
|
|
from flask_debugtoolbar import DebugToolbarExtension
|
|
from flask_login import LoginManager
|
|
from flask_migrate import Migrate
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
from flask_wtf.csrf import CSRFProtect
|
|
|
|
bcrypt = Bcrypt()
|
|
csrf_protect = CSRFProtect()
|
|
login_manager = LoginManager()
|
|
db = SQLAlchemy()
|
|
migrate = Migrate()
|
|
cache = Cache()
|
|
debug_toolbar = DebugToolbarExtension()
|
|
|