Skip to content

Commit

Permalink
Allow Django 5.x in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
calebsyring committed Mar 27, 2024
1 parent 413f926 commit 66deb22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django>=2.2,<4.3
Django>=4.0,<6
Sphinx>=1.2.0
phonenumbers>=7.0.2
django-phonenumber-field==6.1.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# For the official support, please visit:
# https://docs.djangoproject.com/en/4.0/faq/install/#what-python-version-can-i-use-with-django
if sys.version_info[1] in [8, 9, 10, 11]:
django_python_version_install = "Django>=4.0,<=5.0"
django_python_version_install = "Django>=4.0,<6"
INSTALL_PYTHON_REQUIRES.append(django_python_version_install)

setup(
Expand Down

0 comments on commit 66deb22

Please sign in to comment.