Flask Documentation (1.1.x)
application-specific state is stored on the extension object, so one extension object can be used for multiple apps. For more information about the design of extensions refer to Flask Extension Development. Using unix:/tmp/yourapplication-fcgi.sock; } Running FastCGI Processes Since nginx and others do not load FastCGI apps, you have to do it by yourself. Supervisor can manage FastCGI processes. [http://supervisord.org/configuration pattern for creating apps: db = SQLite3() # Then later on. app = create_app('the-config.cfg') db.init_app(app) Keep in mind that supporting this factory pattern for creating apps is required for approved0 码力 | 428 页 | 895.98 KB | 1 年前3Flask Documentation (1.1.x)
application-specific state is stored on the extension object, so one extension object can be used for multiple apps. For more information about the design of extensions refer to Flask Extension Development. 1.21. unix:/tmp/yourapplication-fcgi.sock; } Running FastCGI Processes Since nginx and others do not load FastCGI apps, you have to do it by yourself. Supervisor can manage FastCGI processes. You can look around for other pattern for creating apps: db = SQLite3() # Then later on. app = create_app('the-config.cfg') db.init_app(app) Keep in mind that supporting this factory pattern for creating apps is required for approved0 码力 | 291 页 | 1.25 MB | 1 年前3Flask-RESTful Documentation Release 0.3.10
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 42 页 | 84.60 KB | 1 年前3Flask-RESTful Documentation Release 0.3.10
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 39 页 | 212.29 KB | 1 年前3Flask-RESTful Documentation Release 0.3.6
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 46 页 | 245.60 KB | 1 年前3Flask-RESTful Documentation Release 0.3.6
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 49 页 | 91.90 KB | 1 年前3Flask-RESTful Documentation Release 0.3.7
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 50 页 | 253.09 KB | 1 年前3Flask-RESTful Documentation Release 0.3.8
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 50 页 | 253.64 KB | 1 年前3Flask-RESTful Documentation Release 0.3.8
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 55 页 | 93.30 KB | 1 年前3Flask-RESTful Documentation Release 0.3.7
to organize your Flask-RESTful app, but here we’ll describe one that scales pretty well with larger apps and maintains a nice level organization. The basic idea is to split your app into three main parts:0 码力 | 55 页 | 93.21 KB | 1 年前3
共 10 条
- 1