Project

Profile

Help

Task #3685

update MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py

Added by dkliban@redhat.com over 1 year ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 37

Description

We are currently using the MIDDLEWARE_CLASSES0 setting in setting.py, but starting with django 1.10 it was changed to MIDDLEWARE1. 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.102.

[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

Associated revisions

Revision 8c162a50 View on GitHub
Added by dalley over 1 year ago

Update MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py

closes #3685
https://pulp.plan.io/issues/3685

Revision 8c162a50 View on GitHub
Added by dalley over 1 year ago

Update MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py

closes #3685
https://pulp.plan.io/issues/3685

Revision 8c162a50 View on GitHub
Added by dalley over 1 year ago

Update MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py

closes #3685
https://pulp.plan.io/issues/3685

History

#1 Updated by dkliban@redhat.com over 1 year ago

  • Description updated (diff)

#2 Updated by dkliban@redhat.com over 1 year ago

  • Sprint/Milestone set to 3.0
  • Sprint set to Sprint 37
  • Tags Pulp 3 added

#3 Updated by dalley over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dalley

#5 Updated by dalley over 1 year ago

  • Status changed from ASSIGNED to POST

#6 Updated by dalley over 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF