diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-11 10:46:09 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-16 18:37:32 +0200 |
| commit | 069d7134305353b544bc6a58ed2c8849e491ba19 (patch) | |
| tree | 2bf43856e5eafb52dadbe043823351ad5ae7c628 | |
| parent | d4f6e6c0888d2032af17d9216daa15f8e2272840 (diff) | |
Removed PY36 and PY37 version constants.
As the oldest supported version is Django 4.2, we only need constants for PY38+.
Thank you to Mariusz Felisiak for the review.
| -rw-r--r-- | django/utils/version.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/utils/version.py b/django/utils/version.py index 6f8171ffe0..55509f4c85 100644 --- a/django/utils/version.py +++ b/django/utils/version.py @@ -13,8 +13,6 @@ PYPY = sys.implementation.name == "pypy" # 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) PY310 = sys.version_info >= (3, 10) |
