Skip to content

Commit

Permalink
Merge pull request #322 from jazzband/1.5.10
Browse files Browse the repository at this point in the history
bump version to 1.6.0
  • Loading branch information
manelclos authored Jul 13, 2022
2 parents 9af9828 + 81b0df5 commit 30c65e4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
django-version: ['2.2', '3.0', '3.1', '3.2', 'main']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
django-version: ['2.2', '3.0', '3.1', '3.2', '4.0', 'main']

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Changes
- Dropped support for Django 1.11, 2.0 and 2.1! [jezdez]
- Add support for Python 3.9. [jezdez]
- Move CI to GitHub Actions: https://github.com/jazzband/django-smart-selects/actions [jezdez]
- Docs: elaborate usage within templates [amiroff]
- Ensure at least one option in the <select> element (as required in HTML) [d9pouces]
- Migrate to GitHub Actions [jezdez]
- Add example of chained FK as inline [manelclos]
- Support Django 3.2 and 4.0 [manelclos]


1.5.9 (2020-08-28)
------------------
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

This package allows you to quickly filter or group "chained" models by adding a custom foreign key or many to many field to your models. This will use an AJAX query to load only the applicable chained objects.

Works with Django version 2.2 to 3.2.
Works with Django version 2.2 to 4.0.

**Warning**: The AJAX endpoint enforces no permissions by default. This means that **any model with a chained field will be world readable**. If you would like more control over this permission, the [`django-autocomplete-light`](https://github.com/yourlabs/django-autocomplete-light) package is a great, high-quality package that enables the same functionality with permission checks.

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
],
)
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py{36,37,38,39}-dj{22,30,31,32}
py{38,39}-djmain
py{38,39,310}-dj{40,main}
flake8

[testenv]
Expand All @@ -13,6 +13,7 @@ deps =
dj30: django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
djmain: https://github.com/django/django/archive/main.tar.gz
coverage
commands =
Expand All @@ -33,11 +34,13 @@ python =
3.7: py37
3.8: py38, flake8
3.9: py39
3.10: py310

[gh-actions:env]
DJANGO =
2.2: dj22
3.0: dj30
3.1: dj31
3.2: dj32
4.0: dj40
main: djmain

0 comments on commit 30c65e4

Please # to comment.