Test against Django 3.2 prerelease

* Omit default_app_config under Django 3.2 and later
  to avoid DeprecationWarning
* Also adds testing on Python 3.9, 3.10-alpha
* Also updates test matrix to include all supported
  Python versions (some older Django versions expanded
  Python support in patch releases)
This commit is contained in:
medmunds
2021-01-25 11:32:02 -08:00
committed by Mike Edmunds
parent fb5912f0e7
commit f039366bf0
5 changed files with 173 additions and 33 deletions

View File

@@ -2,4 +2,6 @@
from ._version import __version__, VERSION # NOQA: F401
default_app_config = 'anymail.apps.AnymailBaseConfig'
from django import VERSION as DJANGO_VERSION
if DJANGO_VERSION < (3, 2, 0):
default_app_config = 'anymail.apps.AnymailBaseConfig'