This is a pre-release. djust 0.3.6 has shipped since: read the djust 0.3.6 release notes.
Fixed
- Skip redundant
mount()on WebSocket connect for pre-rendered pages — When the client sendshas_prerendered=trueon WS connect and saved state exists in the session (written during the HTTP GET), the view's attributes are restored from session instead of re-runningmount(). This eliminates the double page-load cost for views with expensivemount()implementations (e.g. directory scans, API calls). Falls back to callingmount()normally when no saved state is found._ensure_tenant()is now called unconditionally before the restore/mount decision, fixing a regression where multi-tenant views hadself.tenant=Noneon WS connect for pre-rendered pages. (#542)