djust 0.3.6rc4

Pre-releaseReleased

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 sends has_prerendered=true on 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-running mount(). This eliminates the double page-load cost for views with expensive mount() implementations (e.g. directory scans, API calls). Falls back to calling mount() 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 had self.tenant=None on WS connect for pre-rendered pages. (#542)

All releases · Atom feed