欢迎来到Flask¶
欢迎来到Flask.本文档分为几个部分.我推荐你从 安装 开始,然 后跳到 快速上手.除了快速上手外, 教程 更详细的介绍了怎 样在Flask中创建一个完整的(依然微小)的应用程序.如果你想更深入的了解Flask 内部,查看阅 API 文档.在 Flask的模式 章节描述了常见的模式.
Flask依赖于两个外部的库: Jinja2 模板引擎和 Werkzeug WSGI工具包. 这些库没有在这里列出文档。如果你想深入了解,查看以下链接:
用户指南¶
这部分文档主要介绍了Flask的背景,然后对于Flask的web开发做了一个一步一 步的要点指示.
- 前言
- 安装
- 快速上手
- 教程
- 模版
- 测试Flask应用程序
- 处理应用异常
- 配置管理
- Signals 信号
- Pluggable Views
- The Request Context
- Modular Applications with Blueprints
- Working with the Shell
- Flask的模式
- 更大的应用
- 应用程序的工厂模式
- 应用程序的派遣
- Using URL Processors
- Deploying with Distribute
- Deploying with Fabric
- Using SQLite 3 with Flask
- SQLAlchemy in Flask
- Uploading Files
- Caching
- View Decorators
- Form Validation with WTForms
- Template Inheritance
- Message Flashing
- AJAX with jQuery
- Custom Error Pages
- Lazily Loading Views
- MongoKit in Flask
- Adding a favicon
- 部署方式
- 搞大了?!
API 参考¶
If you are looking for information on a specific function, class or method, this part of the documentation is for you.
其它事项¶
Design notes, legal information and changelog are here for the interested.