diff --git a/pyproject.toml b/pyproject.toml index f18efe9a3..3a8908450 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "csscompressor~=0.9.0", "cssutils~=2.9.0", "defusedcsv~=2.0.0", - "Django~=4.2.0", + "Django>=4.2,<5.1", "django-bootstrap4~=3.0.0", "django-compressor~=4.4.0", "django-context-decorator",