Tornado 4.5 Documentation
Running and deploying Web framework tornado.web — RequestHandler and Application classes tornado.template — Flexible output generation tornado.routing — Basic routing implementation tornado.escape — Escaping methods Error Handling Redirection Asynchronous handlers Templates and UI Configuring templates Template syntax Internationalization UI modules Authentication and security Cookies and secure cookies RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.1 Documentation
RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrat- ing these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler By default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your template files in a different directory, use the template_path Application setting (or0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrat- ing these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler By default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your template files in a different directory, use the template_path Application setting (or0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 4.5 Documentation
RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrat- ing these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler By default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your template files in a different directory, use the template_path Application setting (or0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrat- ing these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler By default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your template files in a different directory, use the template_path Application setting (or0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 5.1 Documentation
Running and deploying Web framework tornado.web — RequestHandler and Application classes tornado.template — Flexible output generation tornado.routing — Basic routing implementation tornado.escape — Escaping methods Error Handling Redirection Asynchronous handlers Templates and UI Configuring templates Template syntax Internationalization UI modules Authentication and security Cookies and secure cookies RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.5 DocumentationRequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrating these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your tem- plate files in a different directory, use the template_path Application setting (or0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.4 Documentation
RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrating these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your tem- plate files in a different directory, use the template_path Application setting (or0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrating these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your tem- plate files in a different directory, use the template_path Application setting (or0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
RequestHandler.write to produce a response. render() loads a Template by name and renders it with the given arguments. write() is used for non-template-based output; it accepts strings, bytes, and dictionaries also be used with any other Python template language, although there is no provision for integrating these systems into RequestHandler.render. Simply render the template to a string and pass it to RequestHandler default, Tornado looks for template files in the same directory as the .py files that refer to them. To put your tem- plate files in a different directory, use the template_path Application setting (or0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













