书栈网 · BookStack 本次搜索耗时 0.033 秒,为您找到 1864 个相关结果.
  • Application Setup

    Application Setup The Application Factory Run The Application Application Setup A Flask application is an instance of the Flask class. Everything about the application, such ...
  • Application Setup

    Application Setup The Application Factory Run The Application Application Setup A Flask application is an instance of the Flask class. Everything about the application, such ...
  • 快速入门

    快速入门 快速入门 在安装 Flask-Exceptional 后,所有你必须要做的就是创建一个 Flask 应用程序,配置 Exceptional API 密钥,接着创建 Exceptional 对象。正是这样的简单: from flask import Flask from flask . ext . exceptional ...
  • Application Structure and Lifecycle

    Application Structure and Lifecycle Application Setup Serving the Application Middleware How a Request is Handled Application Structure and Lifecycle Flask makes it pretty e...
  • Project Layout

    Project Layout Project Layout Create a project directory and enter it: $ mkdir flask - tutorial $ cd flask - tutorial Then follow the installation instructions to set up ...
  • 安装

    安装 安装 使用 pip 安装 Flask-RESTful: pip install flask - restful 开发的版本可以从 GitHub 上的页面 下载 git clone https : //github.com/twilio/flask-restful.git cd flask - restful python ...
  • Lazily Loading Views

    Lazily Loading Views Converting to Centralized URL Map Loading Late Lazily Loading Views Flask is usually used with the decorators. Decorators are simple and youhave the URL ...
  • Quickstart

    Quickstart A Minimal API Resourceful Routing Endpoints Argument Parsing Data Formatting Full Example Table of Contents Related Topics This Page Quick search Quickstar...
  • Development Server

    Development Server Command Line In Code Development Server Starting with Flask 0.11 there are multiple built-in ways to run adevelopment server. The best one is the flask co...
  • 应用设置

    应用设置¶ 应用工厂¶ 运行应用¶ 应用设置¶ 一个 Flask 应用是一个 Flask 类的实例。应用的所有东西(例如配置和 URL )都会和这个实例一起注册。 创建一个 Flask 应用最粗暴直接的方法是在代码的最开始创建一个全局Flask 实例。前面的 “Hello, World!” 示例就是这样做的。有的情况下这样做是简单和有效...