歡迎來(lái)到 Flask 的世界?

Welcome to Flask's documentation. Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications.
Get started with 安裝 and then get an overview with the Quickstart. There is also a more detailed 教程 that shows how to create a small but complete application with Flask. Common patterns are described in the Patterns for Flask section. The rest of the docs describe each component of Flask in detail, with a full reference in the API section.
Flask depends on the Werkzeug WSGI toolkit, the Jinja template engine, and the Click CLI toolkit. Be sure to check their documentation as well as Flask's when looking for information.
用戶指南?
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 used, customized, and extended. Beyond Flask itself, look for community-maintained extensions to add even more functionality.
- 安裝
- Quickstart
- 教程
- 模板渲染
- Testing Flask Applications
- Handling Application Errors
- Debugging Application Errors
- 日志
- Configuration Handling
- Signals
- Class-based Views
- Application Structure and Lifecycle
- 應(yīng)用上下文
- 請(qǐng)求上下文
- 使用藍(lán)圖模塊化應(yīng)用
- Extensions
- Command Line Interface
- Development Server
- 使用 Shell
- Patterns for Flask
- Large Applications as Packages
- Application Factories
- Application Dispatching
- Using URL Processors
- Using SQLite 3 with Flask
- SQLAlchemy in Flask
- Uploading Files
- 緩存
- View Decorators
- Form Validation with WTForms
- Template Inheritance
- Message Flashing
- JavaScript,
fetch
, and JSON - Lazily Loading Views
- MongoDB with MongoEngine
- 添加 Favicon
- Streaming Contents
- Deferred Request Callbacks
- Adding HTTP Method Overrides
- Request Content Checksums
- Background Tasks with Celery
- Subclassing Flask
- Single-Page Applications
- Security Considerations
- Deploying to Production
- Using
async
andawait
API 參考?
如果你想找關(guān)于某個(gè)特定函數(shù)、類或方法的信息,那么這部分文檔就是為你準(zhǔn)備的。
- API
- Application Object
- Blueprint Objects
- Incoming Request Data
- Response Objects
- Sessions
- Session Interface
- Test Client
- Test CLI Runner
- Application Globals
- Useful Functions and Classes
- Message Flashing
- JSON Support
- Template Rendering
- Configuration
- Stream Helpers
- Useful Internals
- Signals
- Class-Based Views
- URL Route Registrations
- View Function Options
- Command Line Interface
附加筆記?
- Design Decisions in Flask
- Flask Extension Development
- 如何向 Flask 貢獻(xiàn)代碼
- BSD-3-Clause License
- Changes
- Version 3.1.0
- Version 3.0.3
- Version 3.0.2
- Version 3.0.1
- Version 3.0.0
- Version 2.3.3
- Version 2.3.2
- Version 2.3.1
- Version 2.3.0
- Version 2.2.5
- Version 2.2.4
- Version 2.2.3
- Version 2.2.2
- Version 2.2.1
- Version 2.2.0
- Version 2.1.3
- Version 2.1.2
- Version 2.1.1
- Version 2.1.0
- Version 2.0.3
- Version 2.0.2
- Version 2.0.1
- Version 2.0.0
- Version 1.1.4
- Version 1.1.3
- Version 1.1.2
- Version 1.1.1
- Version 1.1.0
- Version 1.0.4
- Version 1.0.3
- Version 1.0.2
- Version 1.0.1
- Version 1.0
- Version 0.12.5
- Version 0.12.4
- Version 0.12.3
- Version 0.12.2
- Version 0.12.1
- Version 0.12
- Version 0.11.1
- Version 0.11
- Version 0.10.1
- Version 0.10
- Version 0.9
- Version 0.8.1
- Version 0.8
- Version 0.7.2
- Version 0.7.1
- Version 0.7
- Version 0.6.1
- Version 0.6
- Version 0.5.2
- Version 0.5.1
- Version 0.5
- Version 0.4
- Version 0.3.1
- Version 0.3
- Version 0.2
- Version 0.1