mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user