Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hansonkd
· 1y ago · 0 comments
You don't need to store CSRF in sessions. Django doesn't by default.
CSRF token can be entirely separate from sessions.
Comments
[–]
smagin
1y ago
not even you don't need to, you shouldn't. Sessions shouldn't be accessible to js at all