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

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
主站蜘蛛池模板: 贵溪市| 通许县| 那曲县| 邢台市| 长沙市| 遵化市| 宁强县| 杨浦区| 五华县| 高清| 蒙阴县| 白银市| 乌拉特后旗| 普定县| 康保县| 普兰店市| 文昌市| 防城港市| 那坡县| 鄂托克旗| 建平县| 周宁县| 凉城县| 河北区| 九台市| 白沙| 宜宾县| 蒙阴县| 图片| 隆子县| 沙洋县| 大石桥市| 隆昌县| 长兴县| 会同县| 大田县| 武安市| 宁陵县| 新竹市| 老河口市| 敖汉旗|