官术网_书友最值得收藏!

Flask built-in features

The previous section gave us a good understanding of how Flask processes a request, and that's good enough to get you started.

But Flask comes with more helpers, which are quite useful. We'll discover the following main ones in this section:

  • The session object: Cookie-based data
  • Globals: Storing data in the request context
  • Signals: Sending and intercepting events
  • Extensions and middlewares: Adding features
  • Templates: Building text-based content
  • Configuring: Grouping your running options in a config file
  • Blueprints: Organizing your code in namespaces
  • Error handling and debugging: Dealing with errors in your app
主站蜘蛛池模板: 云浮市| 若羌县| 安平县| 太保市| 张家川| 理塘县| 同仁县| 云阳县| 如东县| 贺兰县| 大邑县| 南阳市| 浮山县| 浠水县| 凌云县| 巩留县| 滁州市| 桑日县| 基隆市| 章丘市| 桐梓县| 霍城县| 敦煌市| 郎溪县| 五原县| 开化县| 凤凰县| 英德市| 榆林市| 乌什县| 陕西省| 自治县| 文山县| 施甸县| 理塘县| 无为县| 绩溪县| 临猗县| 绍兴市| 德兴市| 含山县|