Skip to content

handle Django 1.10/1.11 with MIDDLEWARE_CLASSES correctly#189

Closed
beniwohli wants to merge 1 commit into
elastic:masterfrom
beniwohli:fix-188
Closed

handle Django 1.10/1.11 with MIDDLEWARE_CLASSES correctly#189
beniwohli wants to merge 1 commit into
elastic:masterfrom
beniwohli:fix-188

Conversation

@beniwohli

@beniwohli beniwohli commented Apr 6, 2018

Copy link
Copy Markdown
Contributor

In the case of Django 1.10/1.11, the MIDDLEWARE attribute is there,
but may be set to None if the old MIDDLEWARE_CLASSES setting is still
used.

This change will also ensure that the correct setting name is used in the
error message of the management command.

fixes #188

In the case of Django 1.10/1.11, the `MIDDLEWARE` attribute is there,
but may be set to `None` if the old `MIDDLEWARE_CLASSES` setting is still
used.

This change will also ensure that the correct setting name is used in the
error message of the management command.

fixes elastic#188
@debugger22

Copy link
Copy Markdown

Great!

@beniwohli beniwohli closed this in fb3c8f4 Apr 6, 2018
@beniwohli beniwohli deleted the fix-188 branch April 6, 2018 12:49
beniwohli added a commit that referenced this pull request Apr 6, 2018
In the case of Django 1.10/1.11, the `MIDDLEWARE` attribute is there,
but may be set to `None` if the old `MIDDLEWARE_CLASSES` setting is still
used.

This change will also ensure that the correct setting name is used in the
error message of the management command.

fixes #188
closes #189
@debugger22

Copy link
Copy Markdown

Merged manually?

@beniwohli

Copy link
Copy Markdown
Contributor Author

yes :) I don't use the github merge button as it can't sign the merge commit with my PGP key :)

We will do a release that includes this fix in the next few days

@debugger22

Copy link
Copy Markdown

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not getting any events on the apm server

2 participants