Skip to content

Commit

Permalink
Support for Django 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kimihito authored and fjsj committed Aug 30, 2024
1 parent d0177a1 commit 1929b01
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ workflows:
matrix:
parameters:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
django-version: ["3.2", "4.2", "5.0"]
django-version: ["3.2", "4.2", "5.0", "5.1"]
exclude:
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"
- python-version: "3.8"
django-version: "5.1"
- python-version: "3.9"
django-version: "5.1"
- coverall:
requires:
- base-test
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ For more general information, view the [readme](README.md).
Releases are added to the
[github release page](https://github.com/ezhome/django-webpack-loader/releases).

## Unreleased

- Add support for Django 5.1

## [3.1.0] -- 2024-04-04

Support `webpack_asset` template tag to render transformed assets URL: `{% webpack_asset 'path/to/original/file' %} == "/static/assets/resource-3c9e4020d3e3c7a09c68.txt"`
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def rel(*parts):
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
],
Expand Down
3 changes: 2 additions & 1 deletion tests/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ minversion = 4.11.1
skipsdist = True
envlist =
py{38,39}-django{32,42}
py{310,311,312}-django{32,42,50}
py{310,311,312}-django{32,42,50,51}
py{311,312}-djangomain

[testenv]
Expand All @@ -22,6 +22,7 @@ deps =
django41: django>=4.1,<4.2
django42: django>=4.2,<4.3
django50: django>=5.0,<5.1
django51: django>=5.1,<5.2
djangomain: https://github.com/django/django/archive/main.zip
commands =
coverage run --source=webpack_loader manage.py test {posargs}

0 comments on commit 1929b01

Please sign in to comment.