diff --git a/pyproject.toml b/pyproject.toml index 529c0f8..6b666ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,13 +38,13 @@ dynamic = ["version"] [project.optional-dependencies] django_ninja = [ - "django>=2.2,<5; python_version<'3.10'", + "django>=5.1,<6; python_version<'3.10'", "django>=2.2; python_version>='3.10'", "django-ninja>=0.18.0", "requests>=2.26.0", ] django_rest_framework = [ - "django>=2.2,<5; python_version<'3.10'", + "django>=5.1,<6; python_version<'3.10'", "django>=2.2; python_version>='3.10'", "djangorestframework>=3.10.0", "uritemplate>=3.0.0", # required for schema generation