 Tornado 6.1 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) (continues on next page) 22 Chapter 6. Documentation Tornado Documentation alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 245 页 | 904.24 KB | 1 年前3 Tornado 6.1 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) (continues on next page) 22 Chapter 6. Documentation Tornado Documentation alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 245 页 | 904.24 KB | 1 年前3
 Tornado 6.4 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 268 页 | 1.09 MB | 1 年前3 Tornado 6.4 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 268 页 | 1.09 MB | 1 年前3
 Tornado 6.4 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 268 页 | 1.09 MB | 1 年前3 Tornado 6.4 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 268 页 | 1.09 MB | 1 年前3
 Tornado 6.4 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 268 页 | 1.09 MB | 1 年前3 Tornado 6.4 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 268 页 | 1.09 MB | 1 年前3
 Tornado 6.5 Documentationinitialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 272 页 | 1.12 MB | 3 月前3 Tornado 6.5 Documentationinitialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 272 页 | 1.12 MB | 3 月前3
 Tornado 6.0 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 245 页 | 885.76 KB | 1 年前3 Tornado 6.0 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 245 页 | 885.76 KB | 1 年前3
 Tornado 6.1 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self static_url: alias for handler.static_url xsrf_form_html: alias for handler.xsrf_form_html reverse_url: alias for Application.reverse_url All entries from the ui_methods and ui_modules Application settings Any keyword0 码力 | 931 页 | 708.03 KB | 1 年前3 Tornado 6.1 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self static_url: alias for handler.static_url xsrf_form_html: alias for handler.xsrf_form_html reverse_url: alias for Application.reverse_url All entries from the ui_methods and ui_modules Application settings Any keyword0 码力 | 931 页 | 708.03 KB | 1 年前3
 Tornado 4.5 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 222 页 | 833.04 KB | 1 年前3 Tornado 4.5 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self.db = db alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 222 页 | 833.04 KB | 1 年前3
 Tornado 5.1 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): (continues on next page) 20 Chapter 5. alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 243 页 | 895.80 KB | 1 年前3 Tornado 5.1 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler. reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form MainHandler(RequestHandler): def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): (continues on next page) 20 Chapter 5. alias for handler.static_url • xsrf_form_html: alias for handler.xsrf_form_html • reverse_url: alias for Application.reverse_url • All entries from the ui_methods and ui_modules Application settings • Any0 码力 | 243 页 | 895.80 KB | 1 年前3
 Tornado 6.0 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self static_url: alias for handler.static_url xsrf_form_html: alias for handler.xsrf_form_html reverse_url: alias for Application.reverse_url All entries from the ui_methods and ui_modules Application settings Any keyword0 码力 | 869 页 | 692.83 KB | 1 年前3 Tornado 6.0 Documentation
initialize. Finally, the URLSpec may have a name, which will allow it to be used with RequestHandler.reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form def get(self): self.write('link to story 1' % self.reverse_url("story", "1")) class StoryHandler(RequestHandler): def initialize(self, db): self static_url: alias for handler.static_url xsrf_form_html: alias for handler.xsrf_form_html reverse_url: alias for Application.reverse_url All entries from the ui_methods and ui_modules Application settings Any keyword0 码力 | 869 页 | 692.83 KB | 1 年前3
共 20 条
- 1
- 2














