Make CountryField queryset filters also work with country codes in
addition to names.
Switch to pyproject.toml rather than setup.py to fix installation
issues with pip 23.0+.
7.5 (12 December 2022)
Rename Turkey to Türkiye.
A change in v7.4 introduced multi-choice countries being stored sorted and
deduplicated. This remains the default behaviour going forwards, but these
can now be overridden via arguments on the CountryField.
Improve translation fallback handling, fixing a threading race condition that
could cause odd translation issues. Thanks to Jan Wróblewski and Antoine
Fontaine for their help in resolving this.
This also fixes translation issues with older Python 3.6/3.7 versions.
Add Python 3.11, drop Python 3.6 and Django 2.2 support.
7.4.2 (10 October 2022)
Fix error when using USE_I18N = False.
7.4.1 (7 October 2022)
Fix broken translations due to last common country names fix.
7.4 (7 October 2022)
Fixed Traditional Chinese translation (needed to be locale/zh_Hant).
Update flag of Honduras.
Add Django 4.0 and 4.1 to the test matrix, dropping 3.0 and 3.1
Add Django Rest Framework 3.13 and 3.14, dropping 3.11.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps django-countries from 7.2.1 to 7.5.1.
Changelog
Sourced from django-countries's changelog.
... (truncated)
Commits
48f17b4
Preparing release 7.5.1788a17d
Record changes for queryset filters73cf3cb
Merge pull request #409 from jamesbeith/patch-17da6c3f
Add pyproject.tomld67aca6
Update transifex link in readmeba3e1a6
Make queryset lookups also work for country codesf12228e
Add asgiref dependency56f0f6c
Tidy up readmecd501c0
Merge pull request #413 from Housain-maina/master6f7acba
Fix the COUNTRIES_OVERRIDE format in readmeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show