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

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
主站蜘蛛池模板: 蓝田县| 隆林| 思茅市| 安泽县| 屯留县| 子洲县| 泗洪县| 比如县| 泗洪县| 贺州市| 聂荣县| 涪陵区| 台北市| 合作市| 宾川县| 比如县| 离岛区| 奈曼旗| 金秀| 大竹县| 江华| 阳山县| 汪清县| 开鲁县| 耿马| 浑源县| 北流市| 无为县| 武安市| 宜州市| 鄯善县| 舟曲县| 玉溪市| 乐亭县| 启东市| 东源县| 都江堰市| 怀柔区| 黑山县| 绵竹市| 肥乡县|