Skip to content

Guides#

Task-oriented pages: the parts of Hayavega you touch while actually building an app. Start with Routing if you're new — everything else builds on how path()/api_route() map URLs to Python functions. For the deeper subsystems underneath (ASGI, the Rust runtime, Signals, security model), see Concepts.

  • Routing URL patterns, path() vs api_route(), methods, middleware.

  • Models & migrations Entity, columns, chainable selections, transactional migrations.

  • Forms Declarative fields, validation, widget rendering.

  • File uploads Multipart parsing, size limits, saving to disk.

  • Templates {% if %}/{% for %}/{% extends %}, no arbitrary code execution.

  • Authentication Sessions, password reset, email verification, 2FA, permissions.

  • Admin Register a model, get list/add/edit/delete for free.

  • REST & OpenAPI api_route, auto-generated Swagger, request/response schemas.

  • GraphQL A hand-written engine with depth limits and introspection control.

  • WebSockets async def handlers, WebSocketDisconnect, hardening options.

  • Deployment gunicorn/waitress, uvicorn, reverse proxies, backups.