About 50 results
Open links in new tab
  1. Welcome to Flask — Flask Documentation (3.1.x)

    Flask provides configuration and conventions, with sensible defaults, to get started. This section of the documentation explains the different parts of the Flask framework and how they can be …

  2. Installation — Flask Documentation (3.1.x)

    Flask is now installed. Check out the Quickstart or go to the Documentation Overview.

  3. Tutorial — Flask Documentation (3.1.x)

    Check out the Quickstart for an overview of what Flask can do, then dive into the docs to find out more. The tutorial only uses what’s provided by Flask and Python. In another project, you …

  4. Quickstart — Flask Documentation (3.1.x)

    Ideally your web server is configured to serve them for you, but during development Flask can do that as well. Just create a folder called static in your package or next to your module and it will …

  5. 欢迎来到 Flask 的世界 — Flask Documentation (3.1.x)

    本部分文档将介绍 Flask 框架的各个组成部分,以及如何使用、定制和扩展它们。 除了 Flask 本身,还可以查找由社区维护的扩展,以添加更多功能。

  6. Project Layout — Flask Documentation (3.1.x)

    Then follow the installation instructions to set up a Python virtual environment and install Flask for your project. The tutorial will assume you’re working from the flask-tutorial directory from now on.

  7. Design Decisions in Flask — Flask Documentation (3.1.x)

    You can implement advanced patterns in SQLAlchemy or another database tool, introduce non-relational data persistence as appropriate, and take advantage of framework-agnostic tools …

  8. API — Flask Documentation (3.1.x)

    Flask parses incoming request data for you and gives you access to it through that global object. Internally Flask makes sure that you always get the correct data for the active thread if you are …

  9. Single-Page Applications — Flask Documentation (3.1.x)

    Flask can be used to serve Single-Page Applications (SPA) by placing static files produced by your frontend framework in a subfolder inside of your project. You will also need to create a …

  10. Application Setup — Flask Documentation (3.1.x)

    The most straightforward way to create a Flask application is to create a global Flask instance directly at the top of your code, like how the “Hello, World!” example did on the previous page.