mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
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.
This commit is contained in:
parent
d4f6e6c088
commit
069d713430
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user