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

Passing None into middleware is deprecated #862

Merged
merged 3 commits into from
Sep 12, 2020

Conversation

smithdc1
Copy link
Contributor

@smithdc1 smithdc1 commented Sep 7, 2020

Fixes

passing get_response into middleware is deprecated in Django 3.1. This pull request creates a fake request object to pass into the middleware.

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS

@smithdc1 smithdc1 changed the title Get response Passing None into middleware is deprecated Sep 7, 2020
@coveralls
Copy link

coveralls commented Sep 7, 2020

Pull Request Test Coverage Report for Build 1435

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.807%

Totals Coverage Status
Change from base Build 1433: 0.0%
Covered Lines: 1439
Relevant Lines: 1534

💛 - Coveralls

@auvipy auvipy merged commit 88d22e8 into jazzband:master Sep 12, 2020
@smithdc1
Copy link
Contributor Author

Thanks !

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.

3 participants