MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / init_app

Method init_app

web/pgadmin/utils/csrf.py:18–20  ·  view source on GitHub ↗
(self, app)

Source from the content-addressed store, hash-verified

16 super().__init__(*args, **kwargs)
17
18 def init_app(self, app):
19 super().init_app(app)
20 self._pg_csrf_exempt(app)
21
22 def _pg_csrf_exempt(self, app):
23 """Exempt some of the Views/blueprints from CSRF protection

Callers 1

create_appFunction · 0.80

Calls 1

_pg_csrf_exemptMethod · 0.95

Tested by

no test coverage detected