Hacker News new | ask | show | jobs
by evv555 2253 days ago
>I think what puts most people off is the default requirement to go all-in and create an SPA with global state management and client-side managed routing, but this isn't actually necessary.

There's also the benefit of being able to lean on Django patterns for sessions.

1 comments

Since inertia runs in the same session context as your django app you can use django sessions as you would in a standard django app - in fact this is the goal of inertia. This even works with a django rest framework API