예제 #1
0
파일: app.py 프로젝트: pombredanne/udata
def register_extensions(app):
    from udata import models, routing, tasks, mail, i18n, auth
    i18n.init_app(app)
    models.init_app(app)
    routing.init_app(app)
    auth.init_app(app)
    cache.init_app(app)
    tasks.init_app(app)
    mail.init_app(app)

    from udata import search
    search.init_app(app)
    return app
예제 #2
0
파일: app.py 프로젝트: opendatateam/udata
def register_extensions(app):
    from udata import (models, routing, tasks, mail, i18n, auth, search,
                       sitemap, sentry)
    tasks.init_app(app)
    i18n.init_app(app)
    models.init_app(app)
    routing.init_app(app)
    auth.init_app(app)
    cache.init_app(app)
    csrf.init_app(app)
    mail.init_app(app)
    search.init_app(app)
    sitemap.init_app(app)
    sentry.init_app(app)
    return app
예제 #3
0
파일: app.py 프로젝트: guillo-w/udata
def register_extensions(app):
    from udata import models, routing, tasks, mail, i18n, auth, theme
    i18n.init_app(app)
    models.init_app(app)
    routing.init_app(app)
    auth.init_app(app)
    cache.init_app(app)
    tasks.init_app(app)
    csrf.init_app(app)
    nav.init_app(app)
    theme.init_app(app)
    mail.init_app(app)

    from udata import search
    search.init_app(app)
    return app
예제 #4
0
def register_extensions(app):
    from . import patch_flask_security  # noqa
    from udata import (models, routing, tasks, mail, i18n, auth, theme, search,
                       sitemap, sentry)
    i18n.init_app(app)
    models.init_app(app)
    routing.init_app(app)
    auth.init_app(app)
    cache.init_app(app)
    tasks.init_app(app)
    csrf.init_app(app)
    nav.init_app(app)
    theme.init_app(app)
    mail.init_app(app)
    search.init_app(app)
    sitemap.init_app(app)
    sentry.init_app(app)
    return app
예제 #5
0
파일: app.py 프로젝트: anukat2015/udata
def register_extensions(app):
    from udata import (
        models, routing, tasks, mail, i18n, auth, theme, search, sitemap,
        sentry
    )
    i18n.init_app(app)
    models.init_app(app)
    routing.init_app(app)
    auth.init_app(app)
    cache.init_app(app)
    tasks.init_app(app)
    csrf.init_app(app)
    nav.init_app(app)
    theme.init_app(app)
    mail.init_app(app)
    search.init_app(app)
    sitemap.init_app(app)
    sentry.init_app(app)
    return app