def setup(): """Handle showing the user the setup page. Returns: A rendered setup page template with appropriate resources passed in. """ oauth_resources_dict = ufo.make_oauth_configration_resources_dict() return flask.render_template( 'setup.html', configuration_resources=json.dumps(oauth_resources_dict))
def landing(): oauth_resources_dict = ufo.make_oauth_configration_resources_dict() return flask.render_template( 'landing.html', configuration_resources=json.dumps(oauth_resources_dict))