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")
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')
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")
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")
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")
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")
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")