lemur/lemur/extensions.py

23 lines
481 B
Python
Raw Normal View History

2015-06-22 22:47:27 +02:00
"""
.. module: lemur.extensions
:copyright: (c) 2015 by Netflix Inc., see AUTHORS for more
:license: Apache, see LICENSE for more details.
"""
from flask_sqlalchemy import SQLAlchemy
2015-06-22 22:47:27 +02:00
db = SQLAlchemy()
from flask_migrate import Migrate
2015-06-22 22:47:27 +02:00
migrate = Migrate()
from flask_bcrypt import Bcrypt
2015-06-22 22:47:27 +02:00
bcrypt = Bcrypt()
from flask_principal import Principal
2015-06-22 22:47:27 +02:00
principal = Principal()
2015-07-23 22:46:54 +02:00
from flask_mail import Mail
smtp_mail = Mail()
2016-04-02 01:54:33 +02:00
from lemur.metrics import Metrics
metrics = Metrics()