-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add support for Django 3.2 #78
base: pre_release
Are you sure you want to change the base?
Conversation
tests/testapp/tests.py
Outdated
""" | ||
Test that the admin autocomplete endpoint loads. | ||
Test that the admin autocomplete endpoint loads on Django 3.2 and before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these docstrings have been switched
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have they? This test is skipped if Django >= 3.2, so that's for 3.1 and earlier... Let me know if I'm missing something!
This docstring is still wrong, this test doesn't actually include 3.2, it should be <3.2 not <=3.2 🤦🏻
I'll update the reason in the skipIf
decorator as it's a bit redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blep, it was me reading it wrong (skip if, not run if!)
This PR builds on top #72 to run tests against Django 3.2 and declare support.