Drop Django 3.0, 3.1, 3.2. Drop Python 3.7.

This commit is contained in:
Mike Edmunds
2024-08-07 12:59:47 -07:00
parent 6cb1a8b4e9
commit 9c4cf001d0
9 changed files with 19 additions and 271 deletions

View File

@@ -4,14 +4,3 @@ __all__ = [
"VERSION",
"__version__",
]
try:
import django
except ImportError:
# (don't require django just to get package version)
pass
else:
if django.VERSION < (3, 2, 0):
# (No longer required -- and causes deprecation warning -- in Django 3.2+)
default_app_config = "anymail.apps.AnymailBaseConfig"
__all__.append("default_app_config")