Skip to content

Commit e57725f

Browse files
authored
Merge pull request #94 from dabapps/django-5
Add Django 5 to test matrix
2 parents 14040ca + c9b734e commit e57725f

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ jobs:
1414
strategy:
1515
matrix:
1616
python: ["3.8", "3.9", "3.10", "3.11"]
17-
django: ["3.2", "4.0", "4.1", "4.2"]
17+
django: ["3.2", "4.0", "4.1", "4.2", "5.0"]
1818
exclude:
1919
- python: "3.11"
2020
django: "3.2"
2121
- python: "3.11"
2222
django: "4.0"
23+
- python: "3.8"
24+
django: "5.0"
25+
- python: "3.9"
26+
django: "5.0"
2327

2428
steps:
2529
- uses: actions/checkout@v2

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
- Add support for Django 5.0
12+
1013
## [2.1.2] - 2023-07-17
1114

1215
### Fixed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ django-readers
33

44
**A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.**
55

6-
Tested against Django 3.2, 4.0, 4.1 and 4.2 on Python 3.8, 3.9, 3.10 and 3.11.
6+
Tested against Django 3.2, 4.0, 4.1, 4.2 and 5.0 on Python 3.8, 3.9, 3.10 and 3.11.
77

88
![Build Status](https://github.com/dabapps/django-readers/workflows/CI/badge.svg?branch=main)
99
[![pypi release](https://img.shields.io/pypi/v/django-readers.svg)](https://pypi.python.org/pypi/django-readers)

tests/test_producers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_nullable(self):
8484
self.assertEqual(result, None)
8585

8686
def test_nullable_one_to_one(self):
87-
widget = Widget.objects.create(thing=None)
87+
widget = Widget.objects.create()
8888
produce = producers.relationship(
8989
"thing", projectors.producer_to_projector("name", producers.attr("name"))
9090
)

0 commit comments

Comments
 (0)