Tornado 4.5 Documentation
le/demos/blog] for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and authorization def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler get_user_locale, which you can override to set the locale based on, e.g., a user preference stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ0 码力 | 333 页 | 322.34 KB | 1 年前3Tornado 6.1 Documentation
application for a complete example that uses authentication (and stores user data in a PostgreSQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) 6.2. Web framework 39 get_user_locale, which you can override to set the locale based on, e.g., a user preference stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ:0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 4.5 Documentation
example application for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user preference stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 5.1 Documentation
example application for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user preference stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 6.0 Documentation
example application for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user preference stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ:0 码力 | 245 页 | 885.76 KB | 1 年前3Tornado 6.4 Documentation
application for a complete example that uses authentication (and stores user data in a PostgreSQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user prefer- ence stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ:0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.2 Documentation
application for a complete example that uses authentication (and stores user data in a PostgreSQL database). 6.1. User’s guide 33 Tornado Documentation, Release 6.2 Third party authentication The tornado ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user prefer- ence stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ:0 码力 | 260 页 | 1.06 MB | 1 年前3Tornado 6.4 Documentation
application for a complete example that uses authentication (and stores user data in a PostgreSQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user prefer- ence stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ:0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
application for a complete example that uses authentication (and stores user data in a PostgreSQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user prefer- ence stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ:0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.3 Documentation
application for a complete example that uses authentication (and stores user data in a PostgreSQL database). Third party authentication The tornado.auth module implements the authentication and authorization ler): def initialize(self, database): self.database = database def get(self, username): ... app = Application([ (r'/user/(.*)', ProfileHandler, dict(database=database)), ]) RequestHandler.prepare() get_user_locale, which you can override to set the locale based on, e.g., a user prefer- ence stored in a database, or get_browser_locale, which uses the Accept-Language header. RequestHandler.log_exception(typ:0 码力 | 264 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2