Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"DatabaseError: Forced update did not affect any rows" on request.session.save() #491

Open
danielfbnunes opened this issue May 12, 2023 · 0 comments

Comments

@danielfbnunes
Copy link

Django version: 3.2.18

After a user login, I came across this "DatabaseError: Forced update did not affect any rows" error on ​request.session.save().
This looks to me like a race condition where the session doesn't exist but ​we still try to update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant