Skip to content

Commit 6b23339

Browse files
authored
feat: Add support for djangocms v4 (#140)
* feat: Drop support for djangocms less than 3.11 * chore: Prepare support for django-cms v4 * feat: Add support for django-cms v4
1 parent aaf6c9b commit 6b23339

18 files changed

+3770
-2473
lines changed

tests/requirements/compile.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,20 @@
3434
from subprocess import run
3535

3636
CONFIG_MATRIX = [
37-
["python3.9", "Django>=3.2a1,<3.3", "django-cms>=3.8,<3.9", "py39-django32-cms38.txt",],
38-
["python3.9", "Django>=3.2a1,<3.3", "django-cms>=3.9,<3.10", "py39-django32-cms39.txt",],
39-
["python3.9", "Django>=3.2a1,<3.3", "django-cms>=3.10,<3.11", "py39-django32-cms310.txt",],
37+
["python3.9", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py39-django42-cms311.txt",],
38+
["python3.9", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py39-django42-cms41.txt",],
4039

41-
["python3.10", "Django>=3.2a1,<3.3", "django-cms>=3.8,<3.9", "py310-django32-cms38.txt",],
42-
["python3.10", "Django>=3.2a1,<3.3", "django-cms>=3.9,<3.10", "py310-django32-cms39.txt",],
43-
["python3.10", "Django>=3.2a1,<3.3", "django-cms>=3.10,<3.11", "py310-django32-cms310.txt",],
44-
["python3.10", "Django>=4.2a1,<5.0", "django-cms>=3.11,<4.0", "py310-django42-cms311.txt",],
40+
["python3.10", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py310-django42-cms311.txt",],
41+
["python3.10", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py310-django42-cms41.txt",],
4542

46-
["python3.11", "Django>=4.2a1,<5.0", "django-cms>=3.11,<4.0", "py311-django42-cms311.txt",],
43+
["python3.11", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py311-django42-cms311.txt",],
44+
["python3.11", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py311-django42-cms41.txt",],
45+
46+
["python3.12", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py312-django42-cms311.txt",],
47+
["python3.12", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py312-django42-cms41.txt",],
48+
49+
["python3.13", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py313-django42-cms311.txt",],
50+
["python3.13", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py313-django42-cms41.txt",],
4751
]
4852

4953
if __name__ == "__main__":

tests/requirements/py310-django32-cms310.txt

Lines changed: 0 additions & 409 deletions
This file was deleted.

tests/requirements/py310-django32-cms38.txt

Lines changed: 0 additions & 410 deletions
This file was deleted.

tests/requirements/py310-django32-cms39.txt

Lines changed: 0 additions & 409 deletions
This file was deleted.

tests/requirements/py310-django42-cms41.txt

Lines changed: 500 additions & 0 deletions
Large diffs are not rendered by default.

tests/requirements/py311-django42-cms41.txt

Lines changed: 453 additions & 0 deletions
Large diffs are not rendered by default.

tests/requirements/py312-django42-cms311.txt

Lines changed: 447 additions & 0 deletions
Large diffs are not rendered by default.

tests/requirements/py312-django42-cms41.txt

Lines changed: 453 additions & 0 deletions
Large diffs are not rendered by default.

tests/requirements/py313-django42-cms311.txt

Lines changed: 447 additions & 0 deletions
Large diffs are not rendered by default.

tests/requirements/py313-django42-cms41.txt

Lines changed: 453 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)