Skip to content

Commit 9960f2c

Browse files
committed
Update Django version support to 4.2 - 5.1
1 parent 4b72e37 commit 9960f2c

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ jobs:
1313
max-parallel: 5
1414
matrix:
1515
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
16-
django-version: ['3.2', '4.1', '4.2', '5.0']
16+
django-version: ['4.2', '5.0', '5.1']
1717
exclude:
1818
- python-version: '3.8'
1919
django-version: '5.0'
2020
- python-version: '3.9'
2121
django-version: '5.0'
22+
- python-version: '3.8'
23+
django-version: '5.1'
24+
- python-version: '3.9'
25+
django-version: '5.1'
2226

2327
steps:
2428
- uses: actions/checkout@v4

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Unreleased
22

33
* Add index to Link (David Venhoff, #202)
4+
* Add support for Django 5.1
5+
* Remove support for Django < 4.2
46

57
2.3.0 (2023-12-27)
68

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ automatically when objects are saved. This is handled by signals.
2727
Minimal requirements
2828
--------------------
2929

30-
django-linkcheck requires Python 3.8 and Django 3.2.
30+
django-linkcheck requires Python 3.8 and Django 4.2.
3131

3232
Basic usage
3333
-----------

linkcheck/tests/test_linkcheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ def test_found_links(self):
898898
Here's a link: <a href="http://www.example.org">Example</a>,
899899
and an image: <img src="http://www.example.org/logo.png" alt="logo">""")
900900
self.assertEqual(Url.objects.all().count(), 2)
901-
self.assertQuerysetEqual(
901+
self.assertQuerySetEqual(
902902
Url.objects.all().order_by('url'),
903903
["http://www.example.org", "http://www.example.org/logo.png"],
904904
transform=lambda obj: obj.url

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@ classifiers = [
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
3333
"Framework :: Django",
34-
"Framework :: Django :: 3.2",
35-
"Framework :: Django :: 4.1",
3634
"Framework :: Django :: 4.2",
3735
"Framework :: Django :: 5.0",
36+
"Framework :: Django :: 5.1",
3837
]
3938
license = {text = "BSD-3-Clause"}
4039
requires-python = ">=3.8"
4140
dependencies = [
42-
"django>=3.2",
41+
"django>=4.2",
4342
"requests",
4443
]
4544

0 commit comments

Comments
 (0)