Skip to content Skip to sidebar Skip to footer

'wsgirequest' Object Has No Attribute 'session' At Login

I'm trying to teach myself python\Django. This was built in Visual Studio with the Django starter site so all the settings.py etc where prebuilt and just added upon. When I attemp

Solution 1:

The MIDDLEWARE_CLASSES setting is deprecated in Django 1.10, and removed in Django 2.0.

You should define MIDDLEWARE in your settings instead.

SessionAuthenticationMiddleware was removed in Django 2.0, so you should remove that from the list.

Post a Comment for "'wsgirequest' Object Has No Attribute 'session' At Login"