Skip to content

Commit a5d1c0c

Browse files
committed
Add support for Django-4.2
1 parent 6f34f34 commit a5d1c0c

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
python-version: ["3.8", "3.9", "3.10"]
2525
node-version: ["16.x"]
26-
django-version: ["4.0.*", "4.1b1"]
26+
django-version: ["4.0.*", "4.1.*", "4.2.*"]
2727

2828
steps:
2929
- uses: actions/checkout@v3
@@ -46,7 +46,7 @@ jobs:
4646
- name: Patch templates
4747
run: |
4848
mkdir -p adminsortable2/templates/adminsortable2/edit_inline
49-
DJANGO_VERSIONS=("4.0" "4.1")
49+
DJANGO_VERSIONS=("4.0" "4.1", "4.2")
5050
for django_version in ${DJANGO_VERSIONS[@]}; do
5151
echo $django_version
5252
curl --silent --output adminsortable2/templates/adminsortable2/edit_inline/stacked-django-$django_version.html https://raw.githubusercontent.com/django/django/stable/$django_version.x/django/contrib/admin/templates/admin/edit_inline/stacked.html

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*.egg-info
66
*.sqlite3
77
*.coverage
8+
*.tsbuildinfo
89
*~
910
.DS_Store
1011
.tmp*

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Release history of [django-admin-sortable2](https://github.com/jrief/django-admin-sortable2/)
44

5+
### 2.1.6
6+
- Add support for Django-4.2.
7+
58
### 2.1.5
69
- Fix: In `SortableInlineAdminMixin.get_fields()`, convert potential tuple to list in order to append extra elements.
710

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def readfile(filename):
2727
'Framework :: Django',
2828
'Framework :: Django :: 4.0',
2929
'Framework :: Django :: 4.1',
30+
'Framework :: Django :: 4.2',
3031
]
3132

3233

0 commit comments

Comments
 (0)