Override to customize template path for each handler. By default, we use the ``template_path`` application setting. Return None to load templates relative to the calling file.
(self)
| 1365 | return self.application.settings["login_url"] |
| 1366 | |
| 1367 | def get_template_path(self) -> Optional[str]: |
| 1368 | """Override to customize template path for each handler. |
| 1369 | |
| 1370 | By default, we use the ``template_path`` application setting. |
| 1371 | Return None to load templates relative to the calling file. |
| 1372 | """ |
| 1373 | return self.application.settings.get("template_path") |
| 1374 | |
| 1375 | @property |
| 1376 | def xsrf_token(self) -> bytes: |