[Answer]-Request.session attribute has disappeared in Django

1👍

Since I believe this is of interests to many new Django developers out there, I will tell how I solved it as an answer.

I solved this by uninstalling and reinstalling Django.

Apparently after uninstalling some unnecessary packages related to Django the session middleware “disappeared” or was corrupted (still trying to work it out here). But it turns out it was fixed with a fresh Django installation (since it is a default Django middleware).

Leave a comment