Skip to content

Commit

Permalink
Fix #483 -- Add Django 5.1 support (#485)
Browse files Browse the repository at this point in the history
* Fix #483 -- Add Django 5.1 support

* A different approach
  • Loading branch information
amureki authored Aug 9, 2024
1 parent 33893d0 commit b4fb894
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased](https://github.com/model-bakers/model_bakery/tree/main)

### Added
- Add Django 5.1 support

### Changed

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
env_list =
py{38,39}-django{42}-{postgresql,sqlite}
py{310,311}-django{42,50}-{postgresql,sqlite}
py{311,312}-django{42,50}-{postgresql-psycopg3}
py312-django50-{postgresql-contenttypes}
py{310,311}-django{42,50,51}-{postgresql,sqlite}
py{311,312}-django{42,50,51}-{postgresql-psycopg3}
py312-django{50,51}-{postgresql-contenttypes}

[testenv]
package = wheel
Expand All @@ -25,6 +25,7 @@ deps =
pytest-django
django42: Django>=4.2,<5
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
postgresql: psycopg2-binary
postgresql-psycopg3: psycopg
commands =
Expand Down

0 comments on commit b4fb894

Please sign in to comment.