diff --git a/django/utils/version.py b/django/utils/version.py index 68708df7aa..4b26586b36 100644 --- a/django/utils/version.py +++ b/django/utils/version.py @@ -9,6 +9,8 @@ from distutils.version import LooseVersion # or later". So that third-party apps can use these values, each constant # should remain as long as the oldest supported Django version supports that # Python version. +PY36 = sys.version_info >= (3, 6) +PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9)