diff --git a/pyproject.toml b/pyproject.toml
index 42271e7..3a40ac0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,7 +21,7 @@ readme = "README.md"
 
 [tool.poetry.dependencies]
 python = "^3.8"
-Django = ">=3.2,<5"
+Django = ">=3.2,<6"
 boto3 = "^1.21.9"
 botocore = "^1.24.9"
 
@@ -39,7 +39,7 @@ ruff = "0.0.285"
 
 [tool.black]
 line-length = 120
-target-version = ['py38', 'py39', 'py310', 'py311']
+target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
 include = '\.pyi?$'
 extend-exclude = '''
 # A regex preceded with ^/ will apply only to files and directories