Exemple #1
0
def init_snapcraft(app, testing=False):
    app.register_blueprint(snapcraft_blueprint())
    app.register_blueprint(first_snap, url_prefix="/first-snap")
    app.register_blueprint(login)
    app.register_blueprint(store_blueprint(testing=testing))
    app.register_blueprint(account, url_prefix="/account")
    app.register_blueprint(publisher_snaps)
    app.register_blueprint(blog, url_prefix="/blog")
Exemple #2
0
def init_snapcraft(app):
    app.register_blueprint(snapcraft_blueprint())
    app.register_blueprint(login)
    csrf.exempt('webapp.login.views.login_handler')
    app.register_blueprint(store_blueprint())
    app.register_blueprint(account, url_prefix='/account')
    app.register_blueprint(publisher_snaps, url_prefix='/account/snaps')
    app.register_blueprint(blog, url_prefix='/blog')
Exemple #3
0
def init_snapcraft(app, testing=False):
    app.register_blueprint(snapcraft_blueprint())
    app.register_blueprint(first_snap, url_prefix="/first-snap")
    app.register_blueprint(login)
    app.register_blueprint(store_blueprint(testing=testing))
    app.register_blueprint(account, url_prefix="/account")
    app.register_blueprint(publisher_snaps)
    app.register_blueprint(blog, url_prefix="/blog")
Exemple #4
0
def init_snapcraft(app):
    app.register_blueprint(snapcraft_blueprint())
    app.register_blueprint(login)
    csrf.exempt("webapp.login.views.login_handler")
    app.register_blueprint(store_blueprint())
    app.register_blueprint(account, url_prefix="/account")
    app.register_blueprint(publisher_snaps)
    app.register_blueprint(blog, url_prefix="/blog")
Exemple #5
0
def init_snapcraft(app):
    app.register_blueprint(snapcraft_blueprint())
    app.register_blueprint(first_snap, url_prefix="/first-snap")
    app.register_blueprint(login)
    csrf.exempt("webapp.login.views.login_handler")
    app.register_blueprint(store_blueprint())
    app.register_blueprint(account, url_prefix="/account")
    app.register_blueprint(publisher_snaps)
    app.register_blueprint(blog, url_prefix="/blog")
Exemple #6
0
def init_snapcraft(app, testing=False):
    app.register_blueprint(snapcraft_blueprint())
    app.register_blueprint(first_snap, url_prefix="/first-snap")
    app.register_blueprint(login)
    app.register_blueprint(oauth)
    app.register_blueprint(store_blueprint(testing=testing))
    app.register_blueprint(account, url_prefix="/account")
    app.register_blueprint(publisher_snaps)
    app.register_blueprint(publisher_github)
    init_docs(app, "/docs")
    init_blog(app, "/blog")
    init_tutorials(app, "/tutorials")
Exemple #7
0
def init_snapcraft(app):
    app.register_blueprint(snapcraft_blueprint())
    app.register_blueprint(first_snap, url_prefix="/first-snap")
    app.register_blueprint(first_snap_2, url_prefix="/first-snap-2")
    app.register_blueprint(first_snap_3, url_prefix="/first-snap-3")
    app.register_blueprint(login)
    app.register_blueprint(oauth)
    app.register_blueprint(store_blueprint())
    app.register_blueprint(account, url_prefix="/account")
    app.register_blueprint(publisher_snaps)
    app.register_blueprint(publisher_github)
    app.register_blueprint(admin)
    init_docs(app, "/docs")
    init_blog(app, "/blog")
    init_tutorials(app, "/tutorials")