ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Provide view globals operations.

Includes _global_csrf_token, _global_csrf_field.

Constant _CSRF_FIELD_NAME Form field read back by CSRFTokenMiddleware on unsafe requests.
Constant _CSRF_FIELD_TEMPLATE Template of the hidden input; Markup.format escapes the token.
Constant _CSRF_SESSION_KEY _csrf_token.
_CSRF_FIELD_NAME: str = (source)

Form field read back by CSRFTokenMiddleware on unsafe requests.

Value
'_csrf'
_CSRF_FIELD_TEMPLATE = (source)

Template of the hidden input; Markup.format escapes the token.

Value
Markup('<input type="hidden" name="{name}" value="{token}">')
_CSRF_SESSION_KEY: str = (source)

_csrf_token.

Value
'_csrf_token'