Why is django losing session after save any python file?

I'm really stuck in my project, I explain:

Every time I save a file, (no matter what it is) with a .py extension, I know that Django uses StatReloader to check for changed files.

My problem is that it removes the logged in user (I don't know if it's a problem with the session)

This has consequences for me, such as not being able to save and test things quickly, since I have to log in every time I save a file.

It would be very helpful if someone can give me a hand!

Back to Top