Fix a TypeError when no country is selected, introduced in the Django 5 fix.
7.6 (27 March 2024)
Replace deprecated pkg_resources.iter_entry_points with
importlib_metadata.
Support Django 5.0.
7.5.1 (1 February 2023)
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.
You can trigger a rebase of this PR 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps django-countries from 7.2.1 to 7.6.1.
Changelog
Sourced from django-countries's changelog.
... (truncated)
Commits
70f7896
Preparing release 7.6.15d7600c
Merge pull request #460 from foutrelis/fix-type-error-in-country-filter7780268
Test CountryFilter.choices() with empty selectionbae099f
Fix TypeError in CountryFilter.choices()0a50fcd
Provide a common name for Micronesiaa7d5114
Merge pull request #429 from rubindersinghsandhu/mainc71c7d8
Back to development: 7.7a0ede70
Preparing release 7.68d8af20
Merge branch 'pr/adamchainz/438'4d3d7b5
Merge branch 'main' into pr/adamchainz/438You can trigger a rebase of this PR 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