Repository: xncbf/django-dynamodb-cache (language: python)

Issue:
Django 5.0 support?
Can you add the django 5.0 version on pyproject.toml?

Thanks!


Discussion / hints:
I will provide a patch soon. Pull requests are also welcome.

Fix patch:
diff --git a/README.md b/README.md
index bda913f..c2f5ba4 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,6 @@ Enter the django official command createcachetable and get started easily.
 ## Why should I use this?
 
 - There are few management points, because dynamodb is a fully managed service.
-- Data is safely stored unlike inmemory db.
 - Because you only pay for what you use, it saves money on light projects such as side projects or back offices.
 - If you need more performance, you can easily switch to DAX.
 
diff --git a/pyproject.toml b/pyproject.toml
index d23ed12..42271e7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,17 +5,14 @@ description = ""
 authors = ["xncbf <xncbf12@gmail.com>"]
 keywords = ["django", "dynamodb", "cache", "django cache backend"]
 classifiers = [
-    "Framework :: Django :: 3",
-    "Framework :: Django :: 3.0",
-    "Framework :: Django :: 3.1",
     "Framework :: Django :: 3.2",
-    "Framework :: Django :: 4",
-    "Framework :: Django :: 4.0",
-    "Framework :: Django :: 4.1",
+    "Framework :: Django :: 4.2",
+    "Framework :: Django :: 5.0",
     "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
+    "Programming Language :: Python :: 3.12",
 ]
 homepage = "https://github.com/xncbf/django-dynamodb-cache"
 repository = "https://github.com/xncbf/django-dynamodb-cache"
diff --git a/tox.ini b/tox.ini
index 53756d9..3750e73 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,8 +2,9 @@
 isolated_build = True
 envlist =
     py{38,39}-dj{30,31,32,40,41},
-    py310-dj{32,40,41},
-    py311-dj{41},
+    py310-dj{32,40,41,42,50},
+    py311-dj{41,42,50},
+    py312-dj{42,50},
 skipsdist = true
 
 
@@ -19,6 +20,7 @@ python =
     3.9: py39
     3.10: py310
     3.11: py311
+    3.12: py312
 
 [testenv]
 allowlist_externals = poetry
@@ -31,6 +33,8 @@ deps =
     dj32: Django>=3.2,<3.3
     dj40: Django>=4.0a,<4.1
     dj41: Django>=4.1,<4.2
+    dj42: Django>=4.2,<5.0
+    dj50: Django>=5.0,<5.1
     djmaster: git+https://github.com/django/django
     pytest
     pytest-cov


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index eb2862f..11bc1e9 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -27,7 +27,7 @@ jobs:
     strategy:
       max-parallel: 8
       matrix:
-        python-version: [3.8, 3.9, "3.10", "3.11"]
+        python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
 
     name: ${{ matrix.experimental && 'Django master [ok to fail]' || format('Python {0}', matrix.python-version) }}
     steps: