Skip to content

Commit 5f39be5

Browse files
authored
Merge branch 'main' into patch-1
2 parents f8fb1b7 + 3566d48 commit 5f39be5

9 files changed

Lines changed: 31 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v3
1818

1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

.github/workflows/dependabot-auto-approve-and-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# This step will fail (without approval) if there's no metadata.
1818
- name: Dependabot metadata
1919
id: dependabot-metadata
20-
uses: dependabot/fetch-metadata@v1.3.1
20+
uses: dependabot/fetch-metadata@v1.3.3
2121
with:
2222
github-token: "${{ secrets.GITHUB_TOKEN }}"
2323
# Approve the PR.

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 22.1 (in development)
4+
5+
- Add support for Django 4.1.
6+
- Drop support for Django 2.2 (EOL).
7+
38
## 21.3 (2021-12-27)
49

510
- Drop support for Python 3.6 (EOL, #247, #248).
@@ -39,7 +44,7 @@
3944
- Document known issue with `RadioSelectButtonGroup` (#114).
4045
- Bump Bootstrap from 5.0.0 to 5.0.1 (#110).
4146
- Fix validation HTML for checkbox and radio select (#92).
42-
- Ignore placeholders in attributes in render_tag (#103).
47+
- Ignore placeholders in attributes in render_tag (#103).
4348
- Update default Bootstrap to 5.0.0 (#97).
4449
- Fix issue where error messages were not displayed for input groups.
4550
- Introduce `server_side_validation` setting for controlling Bootstrap 5 server-side validation classes (#90).
@@ -85,7 +90,7 @@
8590

8691
## 0.2.0 (2021-03-22)
8792

88-
- Add floating labels for supported widgets.
93+
- Add floating labels for supported widgets.
8994
- Do not abuse title element for help text.
9095
- Remove `InlineFieldRenderer`.
9196
- Simplify size parameters, only accept "sm", "md", "lg".
@@ -98,6 +103,6 @@
98103
- Started `django-bootstrap5` based on `django-bootstrap4`.
99104
- Thanks everybody that contributed to `django-bootstrap4` and earlier versions!
100105

101-
## 0.1.0 (2013-08-13)
106+
## 0.1.0 (2013-08-13)
102107

103-
- Reserving the name "django-bootstrap5" at PyPI (released as 0.1).
108+
- Reserving the name "django-bootstrap5" at PyPI (released as 0.1).

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Ready for production. Issues and pull requests welcome, see [CONTRIBUTING.md](CO
1717

1818
## Requirements
1919

20-
Python 3.7 or newer with Django >= 2.2 or newer.
20+
Python 3.7 or newer with Django 3.2 or newer.
2121

2222
## Documentation
2323

@@ -30,7 +30,7 @@ The full documentation is at https://django-bootstrap5.readthedocs.io/
3030
```bash
3131
pip install django-bootstrap5
3232
```
33-
33+
3434
2. Add to `INSTALLED_APPS` in your `settings.py`:
3535

3636
```python

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sphinx==4.4.0
1+
sphinx==5.1.1
22
sphinx_rtd_theme==1.0.0
33
m2r2==0.3.2

example/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
..
2-
django>=2.2
2+
django>=3.2

requirements-dev.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
-r docs/requirements.txt
2-
django==4.0.3
3-
black==22.1.0
2+
django==4.1
3+
black==22.6.0
44
isort==5.10.1
5-
flake8==4.0.1
5+
flake8==5.0.4
66
pydocstyle==6.1.1
77
docformatter==1.4
88
autoflake==1.4
9-
tox==3.24.5
9+
tox==3.25.1
1010
wheel==0.37.1
11-
setuptools==60.9.3
12-
twine==3.8.0
13-
pillow==9.0.1
14-
coverage[toml]==6.3.2
15-
beautifulsoup4==4.10.0
11+
setuptools==63.4.1
12+
twine==4.0.1
13+
pillow==9.2.0
14+
coverage[toml]==6.4.2
15+
beautifulsoup4==4.11.1

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ classifiers =
1212
Development Status :: 5 - Production/Stable
1313
Environment :: Web Environment
1414
Framework :: Django
15-
Framework :: Django :: 2.2
1615
Framework :: Django :: 3.2
1716
Framework :: Django :: 4.0
17+
Framework :: Django :: 4.1
1818
Intended Audience :: Developers
1919
License :: OSI Approved :: BSD License
2020
Operating System :: OS Independent
@@ -34,7 +34,7 @@ zip_safe = False
3434
include_package_data = True
3535
python_requires = >=3.7
3636
install_requires =
37-
Django>=2.2
37+
Django>=3.2
3838

3939
[options.packages.find]
4040
where = src

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ isolated_build = True
33
envlist =
44
lint
55
docs
6-
py37-django{22,32}
7-
py38-django{32,40,main}
8-
py39-django{32,40,main}
9-
py310-django{32,40,main}
6+
py37-django{32}
7+
py38-django{32,40,41,main}
8+
py39-django{32,40,41,main}
9+
py310-django{32,40,41,main}
1010
check-description
1111
check-manifest
1212
coverage
@@ -26,9 +26,9 @@ setenv =
2626
commands =
2727
coverage run --parallel-mode manage.py test -v1 --noinput
2828
deps =
29-
django22: Django==2.2.*
3029
django32: Django==3.2.*
3130
django40: Django==4.0.*
31+
django41: Django==4.1.*
3232
djangomain: https://github.com/django/django/archive/main.tar.gz
3333
beautifulsoup4>=4.8.0
3434
pillow

0 commit comments

Comments
 (0)