Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle Django 1.10/1.11 with MIDDLEWARE_CLASSES correctly #189

Closed
wants to merge 1 commit into from

Conversation

beniwohli
Copy link
Contributor

@beniwohli beniwohli commented 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

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

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

Merged manually?

@beniwohli
Copy link
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

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