# Path: makesite/modules/flask/base/app.py
# def create_app(config=None, **skip):
#     app = Flask(__name__)
#     app.config.from_object(config or production)
#     app.config.from_envvar("APP_SETTINGS", silent=True)
# 
#     from .ext import config_extensions
#     config_extensions(app)
# 
#     from .loader import loader
#     loader.register(app)
# 
#     return app


from flask import request
from flask_sqlalchemy import SQLAlchemy
from flaskext.babel import Babel
from flaskext.cache import Cache
from flaskext.mail import Mail
from flaskext.script import Manager
from flask_collect import Collect
from .app import create_app



babel = Babel()
cache = Cache()
db = SQLAlchemy()
main = Mail()


# Path: makesite/modules/flask/base/app.py
# def create_app(config=None, **skip):
#     app = Flask(__name__)
#     app.config.from_object(config or production)
#     app.config.from_envvar("APP_SETTINGS", silent=True)
# 
#     from .ext import config_extensions
#     config_extensions(app)
# 
#     from .loader import loader
#     loader.register(app)
# 
#     return app


# Path: makesite/modules/flask/base/ext.py
from flask import request
from flask_sqlalchemy import SQLAlchemy
from flaskext.babel import Babel
from flaskext.cache import Cache
from flaskext.mail import Mail
from flaskext.script import Manager
from flask_collect import Collect
from .app import create_app




babel = Babel()
cache = Cache()
db = SQLAlchemy()
main = Mail()


manager = Manager(create_app)