Skip to content

Merge main in bootstrap v5 branch - #1

Closed
browniebroke wants to merge 551 commits into
smithdc1:bootstrap-v5from
browniebroke:bootstrap-v5
Closed

browniebroke wants to merge 551 commits into
smithdc1:bootstrap-v5from
browniebroke:bootstrap-v5

Conversation

@browniebroke

Copy link
Copy Markdown

Description

Trying to revive this old PR: encode#7411

I tried to push to your branch but it looks like I'm not allowed. I assume the "Allow edits and access to secrets by maintainers" checkbox is unticked on your above PR?

I've merged the latest changes from main and update the vendored bootstrap versions...

HGZahn and others added 30 commits January 4, 2024 12:36
add .order_by() to eliminate Pagination UnorderedObjectListWarning
* Fix use of ip_address_validators for Django 5.0+

* Change affected django version to 5.1
…code#9208)

* Use POST method instead of GET to perform logout in browsable API

* Add a test that checks the presence of the logout form
* added python 3.12 to CI

* Update tox.ini

* Update tox.ini

* Update tox.ini
…encode#9248)

* Add 2 customization packages, rest-framework-redesign and rest-framework-material

* docs: Update third-party-packages.md to rename customization packages
* added python 3.12 to CI

* Update setup.py

---------

Co-authored-by: Asif Saif Uddin <[email protected]>
…er (encode#9245)

* refactor removing parameters from kwargs when creating a ListSerializer

* insert child

* small rewrite

---------

Co-authored-by: Willem Van Onsem <[email protected]>
* Update tox.ini

* Update tests for Django 5.0

* Update documentation

* Update setup.py
…fixed (encode#9234)

* Do not ignore .codespellrc from git

* Add rudimentary codespell config

* Add pre-commit definition for codespell

* more custom skips for codespell - long lines, lines with ú etc

* [DATALAD RUNCMD] Do interactive fixing of some ambigous typos

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2 ./docs/community/release-notes.md",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^

* BF: pre-commit needs to duplicate some of the skips for codespell

Known issue -- yet to be addressed:

codespell-project/codespell#3196

* Move codespell configuration into setup.cfg
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Release Notes for 3.15

- Add docs/community/3.15-announcement.md
- Update docs/community/release-notes.md
- Update mkdocs.yml

Co-authored-by: Bruno Alla <[email protected]>

* Release date pending

bump

* Changes to docs should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Fix typo

* Changes to tests should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to tests should not be included in release notes.

* Changes to tests should not be included in release notes.

* Fix typo in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to tests should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Improve changelog entry

* Changes to docs should not be included in release notes.

* Changes to docs should not be included in release notes.

* Changes to project workflow should not be included in release notes.

* Changes to docs should not be included in release notes.

* Update docs/community/3.15-announcement.md

Co-authored-by: Asif Saif Uddin <[email protected]>

* Update docs/community/3.15-announcement.md

* Update docs/community/3.15-announcement.md

* Update docs/community/release-notes.md

* Update docs/community/release-notes.md

Co-authored-by: Christian Clauss <[email protected]>

* Update docs/community/release-notes.md

Co-authored-by: Christian Clauss <[email protected]>

* Update docs/community/3.15-announcement.md

Co-authored-by: JAEGYUN JUNG <[email protected]>

* Update docs/community/release-notes.md

* Update docs/community/release-notes.md

Co-authored-by: JAEGYUN JUNG <[email protected]>

* Update release version

* Update supported Python and Django versions

---------

Co-authored-by: Rodrigo <[email protected]>
Co-authored-by: Bruno Alla <[email protected]>
Co-authored-by: Asif Saif Uddin <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: JAEGYUN JUNG <[email protected]>
dependabot Bot and others added 28 commits February 5, 2026 21:06
Bumps the docs group with 1 update: [mkdocs](https://github.com/mkdocs/mkdocs).


Updates `mkdocs` from 1.6.0 to 1.6.1
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](mkdocs/mkdocs@1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-version: 1.6.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: docs
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump the optional group with 4 updates

Updates the requirements on [coreapi](https://github.com/core-api/python-client), [django-guardian](https://github.com/django-guardian/django-guardian), [pygments](https://github.com/pygments/pygments) and [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.

Updates `coreapi` from 2.3.1 to 2.3.3
- [Commits](core-api/python-client@2.3.1...2.3.3)

Updates `django-guardian` to 3.2.0
- [Release notes](https://github.com/django-guardian/django-guardian/releases)
- [Commits](django-guardian/django-guardian@v2.4.0...3.2.0)

Updates `pygments` to 2.19.2
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.17.0...2.19.2)

Updates `pyyaml` to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES)
- [Commits](yaml/pyyaml@5.3.1...6.0.3)

---
updated-dependencies:
- dependency-name: coreapi
  dependency-version: 2.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: optional
- dependency-name: django-guardian
  dependency-version: 3.2.0
  dependency-type: direct:development
  dependency-group: optional
- dependency-name: pygments
  dependency-version: 2.19.2
  dependency-type: direct:development
  dependency-group: optional
- dependency-name: pyyaml
  dependency-version: 6.0.3
  dependency-type: direct:development
  dependency-group: optional
...

Signed-off-by: dependabot[bot] <[email protected]>

* Add back setuptools

Was added to testing requirements in
encode#9818

But that was lost in:
encode#9842

Moving to optional dep group as it's only needed for coreapi

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <[email protected]>
Co-authored-by: Bruno Alla <[email protected]>
* Merge pre-commit workflow into main

* Update build status screenshot
* fix 'charactère'

* Slight improvements

* "Vérifier que" -> "Assurez-vous que"
* "Entrée invalide" -> "Saisie invalide"
* "Pas trouvé" -> "Non trouvé"

* Run compilemessages

---------

Co-authored-by: Bruno Alla <[email protected]>
* Update FUNDING.yml

* Use dedicated open_collective key instead of custom
…r` (encode#9854)

Co-authored-by: Bruno Alla <[email protected]>
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <[email protected]>
Co-authored-by: Bruno Alla <[email protected]>
* fix: MultipleChoiceField use ordered sort

(cherry picked from commit 8436483)

* test: fix unit tests

(cherry picked from commit 6428ac4)

* test: test TestMultipleChoiceField can json serializable

(cherry picked from commit 12908b1)

* test: fix unit test

(cherry picked from commit 73a709c)

* minor: rest old formatting

* fix: using pytest.fail to test

* Update test_fields.py

* Update test_fields.py

* Update test_fields.py

* test: add test cases

* docs: update docs

* Update docs/api-guide/fields.md

* Skip inner list allocation

* Fix punctuation

---------

Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <[email protected]>
Co-authored-by: Bruno Alla <[email protected]>
Co-authored-by: Bruno Alla <[email protected]>
* Switch to mkdocs material theme

* Add logo

* Style badges on homepage

* Basic dark theme

* Enable a few theme features

* Customise large logo for dark theme

* CSS tweaks

* Add background grid back

* Switch to mkdocs material theme

* Add logo

* Style badges on homepage

* Basic dark theme

* Add syntax highlighting to code snippets

* Convert homepage snippets to code fences

* Update homepage logos

* Move mkdocs-material to pyproject.toml docs group

* Keep existing syntax highlighting

* Remove old docs_theme folder

* Tweak syntax highlighting colors on dark theme

* Add readthedocs config file

* Fix end of file empty lines

* Upgrade pip during install

* Remove custom styling for .prettyprint

* Remove .prettyprint border entirely

* Make tabs sticky in navbar

* Merge page ToC with navigation

* Tweak colors for more accessible contrast

* Add Figma file for the logos

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>

* Adjust styles for badges

* Enable content tabs for OS specific instructions

https://squidfunk.github.io/mkdocs-material/reference/content-tabs/

* Add icons for content tabs

* Standardize on .venv for virtualenv name in docs

* Add note about bash for Windows

---------

Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <[email protected]>
Co-authored-by: Copilot <[email protected]>
…omization example (encode#9904)

* Improve PageNumberPagination docs by adding page_query_param customization example

* Improve pagination accessibility by adding aria attributes and rel navigation hints

* Revert template changes; moved to separate accessibility PR

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <[email protected]>
Co-authored-by: Bruno Alla <[email protected]>
Co-authored-by: Copilot <[email protected]>
# Conflicts:
#	docs_theme/404.html
#	docs_theme/main.html
#	docs_theme/nav.html
#	rest_framework/static/rest_framework/css/bootstrap-theme.min.css
#	rest_framework/static/rest_framework/css/bootstrap.min.css
#	rest_framework/static/rest_framework/css/bootstrap.min.css.map
#	rest_framework/templates/rest_framework/admin.html
#	rest_framework/templates/rest_framework/base.html
#	rest_framework/templates/rest_framework/docs/index.html
#	rest_framework/templates/rest_framework/horizontal/select_multiple.html
#	rest_framework/templatetags/rest_framework.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.