Skip to content

Commit 9c6d392

Browse files
committed
Update test matrix
1 parent 5dffb12 commit 9c6d392

File tree

6 files changed

+14
-17
lines changed

6 files changed

+14
-17
lines changed

.github/workflows/codecov.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: [ 3.9, "3.10", "3.11", "3.12"] # latest release minus two
15+
python-version: [ "3.10", "3.11", "3.12", "3.13"] # latest release minus two
1616
requirements-file: [
1717
dj42_cms311.txt,
1818
dj42_cms41.txt,
1919
dj50_cms41.txt,
2020
dj51_cms41.txt,
21+
dj52_cms41.txt,
22+
dj52_cms50.txt,
2123
]
2224
os: [
2325
ubuntu-latest,
2426
]
25-
exclude:
26-
- python-version: 3.9
27-
requirements-file: dj50_cms41.txt
28-
- python-version: 3.9
29-
requirements-file: dj51_cms41.txt
3027

3128
steps:
3229
- uses: actions/checkout@v3

djangocms_form_builder/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def register_form_view(cls, slug=None):
2929

3030

3131
class AjaxView(View):
32-
"""
32+
r"""
3333
A Django view to handle AJAX requests for GET and POST methods for django CMS Form Builder forms.
3434
this view allows django CMS plugins to receive ajax requests if they implement the `ajax_get` and
3535
`ajax_post` methods. The form plugin implements the `ajax_post` method to handle form submissions.
@@ -84,7 +84,7 @@ def plugin_instance(pk):
8484
return plugin, instance
8585

8686
def ajax_post(self, request, *args, **kwargs):
87-
"""
87+
r"""
8888
Handles AJAX POST requests for the form builder.
8989
9090
This method processes AJAX POST requests by determining the appropriate
@@ -137,7 +137,7 @@ def ajax_post(self, request, *args, **kwargs):
137137
raise Http404()
138138

139139
def ajax_get(self, request, *args, **kwargs):
140-
"""
140+
r"""
141141
Handles AJAX GET requests.
142142
143143
This method processes AJAX GET requests by checking for specific keys in the

tests/requirements/dj32_cms310.txt

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

tests/requirements/dj32_cms311.txt

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

tests/requirements/dj52_cms41.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-r base.txt
2+
3+
Django>=5.2,<5.3
4+
django-cms>=4.1,<4.2

tests/requirements/dj52_cms50.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-r base.txt
2+
3+
Django>=5.2,<5.3
4+
django-cms>=5.0,<5.1

0 commit comments

Comments
 (0)