mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
* 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)
8 lines
237 B
Python
8 lines
237 B
Python
# Expose package version at root of package
|
|
from ._version import __version__, VERSION # NOQA: F401
|
|
|
|
|
|
from django import VERSION as DJANGO_VERSION
|
|
if DJANGO_VERSION < (3, 2, 0):
|
|
default_app_config = 'anymail.apps.AnymailBaseConfig'
|