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

Modify Django middleware to support multiple databases #80

Merged
merged 1 commit into from
Sep 9, 2019
Merged

Modify Django middleware to support multiple databases #80

merged 1 commit into from
Sep 9, 2019

Conversation

jianyuan
Copy link
Contributor

@jianyuan jianyuan commented Sep 4, 2019

Modify Django middleware to support multiple databases.

Uses contextlib.ExitStack which is only available from Python 3.3+ but since this portion of code relies on Django 2.0 which only supports Python 3.4+, the exception catcher can be reused.

@tredman
Copy link
Contributor

tredman commented Sep 9, 2019

Hey, thanks for the PR! Makes sense to me and works fine with my local smoke test. Will cut a new minor release shortly with these changes.

@tredman tredman merged commit 900d9c1 into honeycombio:master Sep 9, 2019
@jianyuan jianyuan deleted the django-middleware-multiple-databases branch October 9, 2019 14:21
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.

2 participants