Project

Profile

Help

Task #3685

Updated by dkliban@redhat.com almost 6 years ago

We are currently using the MIDDLEWARE_CLASSES[0] setting in setting.py, but starting with django 1.10 it was changed to MIDDLEWARE[1]. pulpcore's settings.py needs to be updated. 

 The SessionAuthenticationMiddleware needs to be removed from the list also. It is enabled by default Django 1.10[2]. 

 [0] https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/settings.py#L78 
 [1] https://docs.djangoproject.com/en/1.10/topics/http/middleware/ 
 [2] https://docs.djangoproject.com/en/2.0/releases/2.0/#miscellaneous

Back