Project

Profile

Help

Task #3685

closed

update MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py

Added by dkliban@redhat.com over 6 years ago. Updated about 5 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 37
Quarter:

Description

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

Actions #1

Updated by dkliban@redhat.com over 6 years ago

  • Description updated (diff)
Actions #2

Updated by dkliban@redhat.com over 6 years ago

  • Sprint/Milestone set to 3.0.0
  • Sprint set to Sprint 37
  • Tags Pulp 3 added
Actions #3

Updated by dalley over 6 years ago

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

Added by dalley over 6 years ago

Revision 8c162a50 | View on GitHub

Update MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py

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

Added by dalley over 6 years ago

Revision 8c162a50 | View on GitHub

Update MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py

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

Actions #5

Updated by dalley over 6 years ago

  • Status changed from ASSIGNED to POST
Actions #6

Updated by dalley over 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #8

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF