The current version constraint for Django in the pyproject.toml file is set to "django = '>=4.2,<5.0'", which does not include Django 5.x versions. To accommodate both the latest Django 4.x versions and Django 5.x versions, the constraint needs to be updated.
Suggested Change:
Update the Django version constraint in pyproject.toml to allow versions up to Django 5.x by changing it to:
Description:
The current version constraint for Django in the
pyproject.toml
file is set to"django = '>=4.2,<5.0'"
, which does not include Django 5.x versions. To accommodate both the latest Django 4.x versions and Django 5.x versions, the constraint needs to be updated.Suggested Change:
Update the Django version constraint in
pyproject.toml
to allow versions up to Django 5.x by changing it to: