Skip to content

Commit

Permalink
Removed PY36 and PY37 version constants.
Browse files Browse the repository at this point in the history
As the oldest supported version is Django 4.2, we only need constants for PY38+.

Thank you to Mariusz Felisiak for the review.
  • Loading branch information
sarahboyce committed May 16, 2024
1 parent d4f6e6c commit 069d713
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django/utils/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# 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)
Expand Down

0 comments on commit 069d713

Please sign in to comment.