Learning Python

Fundamentals

Web

Flask

Highlights

# Application container
flask.Flask()

# request - Werzeug or Flask?
flask.request.form
flask.request.args
flask.request.cookies
flask.request.headers
flask.request.files
flask.request.method

app.logger.debug(self, msg, *args, **kwargs)
app.logger.setLevel(self, level)
flask.render_template(template_name_or_list, **context)
flask.url_for(endpoint, **values)
flask.redirect(location, code = 302, Response = None)
flask.flash(message, category = 'message')

Flask Larger Apps

Last Updated: 12/27/2018, 12:33:49 AM