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

Add support for Django 3.2 #78

Open
wants to merge 6 commits into
base: pre_release
Choose a base branch
from

Conversation

browniebroke
Copy link

@browniebroke browniebroke commented May 4, 2022

This PR builds on top #72 to run tests against Django 3.2 and declare support.

"""
Test that the admin autocomplete endpoint loads.
Test that the admin autocomplete endpoint loads on Django 3.2 and before.
Copy link
Contributor

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

Copy link
Author

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.

Copy link
Contributor

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!)

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