mirror of
https://github.com/veops/cmdb.git
synced 2025-08-10 23:19:33 +08:00
v1 vsersion
This commit is contained in:
16
extensions.py
Normal file
16
extensions.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# encoding=utf-8
|
||||
|
||||
|
||||
from flask.ext.mail import Mail
|
||||
from flask.ext.sqlalchemy import SQLAlchemy
|
||||
from flask.ext.cache import Cache
|
||||
from flask.ext.celery import Celery
|
||||
|
||||
|
||||
__all__ = ['mail', 'db', 'cache', 'celery']
|
||||
|
||||
|
||||
mail = Mail()
|
||||
db = SQLAlchemy()
|
||||
cache = Cache()
|
||||
celery = Celery()
|
Reference in New Issue
Block a user