diff --git a/project/{% if is_django_package %}tox.ini{% endif %}.jinja b/project/{% if is_django_package %}tox.ini{% endif %}.jinja index 3afc7bdf..b9e0966f 100644 --- a/project/{% if is_django_package %}tox.ini{% endif %}.jinja +++ b/project/{% if is_django_package %}tox.ini{% endif %}.jinja @@ -17,7 +17,7 @@ deps = # poetry export --without-hashes --only=dev --format=requirements.txt --output=requirements-dev.txt -r requirements-dev.txt # All supported Django versions - django51: Django>=5.1a1,<5.2 + django51: Django>=5.1,<5.2 django50: Django>=5.0,<5.1 django42: Django>=4.2,<5.0 commands = diff --git a/tests/test_generate_project.py b/tests/test_generate_project.py index 5d794c27..c5ba88ec 100644 --- a/tests/test_generate_project.py +++ b/tests/test_generate_project.py @@ -313,7 +313,7 @@ def test_django_package_yes( expected_strs=[ "django42: Django>=4.2,<5.0", "django50: Django>=5.0,<5.1", - "django51: Django>=5.1a1,<5.2", + "django51: Django>=5.1,<5.2", ], ) _check_file_contents(