Support Django 4.0, drop support for older Python & Django versions #110
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In Django 4.0, widget CheckboxSelectMultiple is a sub-class of RadioSelect
causing the former to be rendered as the latter. Fix this by improving the
check.
Versions of Django < 3.2 are no longer supported[1]. Drop support for them.
Continue to support Django 2.2 has this is the version in current Debian
stable (and requires no special handling).
Versions of Python < 3.7 are no longer supported[2]. Drop support for them.
Remove comments and code referring to older versions for simpler code.
Links:
Django Supported Version: https://www.djangoproject.com/download/
Python Supported Versions:
https://devguide.python.org/#status-of-python-branches