Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#26716 closed Bug (fixed)

django.contrib.sites.CurrentSiteMiddleware needs to inherit MiddlewareMixin

Reported by: Brett Haydon Owned by: nobody
Component: contrib.sites Version: 1.10
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Brett Haydon)

As it says on the tin, CurrentSiteMiddleware isn't compatible with the new middleware.

https://github.com/django/django/pull/6736

Change History (4)

comment:1 by Brett Haydon, 9 years ago

Description: modified (diff)
Has patch: set

comment:2 by Tim Graham, 9 years ago

Needs tests: set
Triage Stage: UnreviewedAccepted

comment:3 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In 5e3f4c2e:

Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware.

comment:4 by Tim Graham <timograham@…>, 9 years ago

In bd7de3c:

[1.10.x] Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware.

Backport of 5e3f4c2e53d9dde0fcf9f5f33f63c15c4750019f from master

Note: See TracTickets for help on using tickets.
Back to Top