v1 vsersion

This commit is contained in:
pycook
2016-01-01 09:40:47 +08:00
committed by pycook
parent 1edd1ee71a
commit 2d8264ab6f
56 changed files with 5503 additions and 0 deletions

16
extensions.py Normal file
View 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()