(self, *args, **kwargs)
| 77 | |
| 78 | class PgAdmin(Flask): |
| 79 | def __init__(self, *args, **kwargs): |
| 80 | # Set the template loader to a postgres-version-aware loader |
| 81 | self.jinja_options = ImmutableDict( |
| 82 | autoescape=select_autoescape(enabled_extensions=('html', 'xml')), |
| 83 | loader=VersionedTemplateLoader(self) |
| 84 | ) |
| 85 | self.logout_hooks = [] |
| 86 | self.before_app_start = [] |
| 87 | |
| 88 | super().__init__(*args, **kwargs) |
| 89 | |
| 90 | def find_submodules(self, basemodule): |
| 91 | try: |
nothing calls this directly
no test coverage detected