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

[django] Remove MIDDLEWARE_CLASSES deprecation warning from tests #444

Merged
merged 1 commit into from
Mar 29, 2018

Conversation

willgittoes-dd
Copy link
Contributor

We just had our test/sample project set up incorrectly to have both a redundant MIDDLEWARE_CLASSES as well as a MIDDLEWARE when django >= (1,10). The warning wasn't present in 2.0 but was shown for earlier new-middlware versions.

I just made it only use MIDDLEWARE_CLASSES for supported versions.

… just had our test/sample project set up incorrectly to have both a MIDDLEWARE and a MIDDLEWARE CLASSES when django >= (1,10). The warning wasn't present in 2.0 but was shown for earlier new-middlware versions.
Copy link
Contributor

@bmermet bmermet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@willgittoes-dd willgittoes-dd merged commit 22b24d5 into master Mar 29, 2018
@willgittoes-dd willgittoes-dd deleted the willgittoes-dd/middleware_classes_warning branch March 29, 2018 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants