4 ms·
I recently ran into issues which I could only explain as CBV not being thread safe. self.request.user would not remain consistent when a view needed to save mul
by greghinch 14y ago
I recently ran into issues which I could only explain as CBV not being thread safe. self.request.user would not remain consistent when a view needed to save multiple models. I haven't had time to fully debug, I only know that frantically patching to not rely on properties, rather arguments, fixed it. We're also running gunicorn on Heroku, not sure yet if that's related. Either way, something to consider.