Path to this page:
./
www/py-django-localflavor,
L18N support for Django
Branch: CURRENT,
Version: 4.0,
Package name: py312-django-localflavor-4.0,
Maintainer: pkgsrc-usersdjango-localflavor is a collection of assorted pieces of code that are
useful for particular countries or cultures. These are called the "local
flavor" add-ons and live in the localflavor package.
Inside that package, country- or culture-specific code is organized into
subpackages, named using ISO 3166 country codes.
Most of the localflavor add-ons are localized form components deriving
from the forms framework - for example, a USStateField that knows how to
validate U.S. state abbreviations, and a FISocialSecurityNumber that
knows how to validate Finnish social security numbers.
Master sites:
Filesize: 4769.99 KB
Version history: (Expand)
- (2024-11-11) Updated to version: py312-django-localflavor-4.0
- (2023-12-02) Updated to version: py311-django-localflavor-4.0
- (2023-07-13) Updated to version: py310-django-localflavor-3.1nb1
- (2023-03-31) Package added to pkgsrc.se, version py310-django-localflavor-3.1 (created)
CVS history: (Expand)
2023-12-02 09:07:41 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-django-localflavor: updated to 4.0
4.0 (2023-04-22)
------------------
New flavors:
- Nepal LocalFlavor: Support for Nepal added
(`gh-451 <https://github.com/django/django-localflavor/pull/451>`_).
- Belarus localflavor
(`gh-422 <https://github.com/django/django-localflavor/pull/422>`_,
`gh-442 <https://github.com/django/django-localflavor/pull/442>`_).
- Ghana localflavor
(`gh-460 <https://github.com/django/django-localflavor/pull/460>`_).
New fields for existing flavors:
- Added `fr.forms.FRRNAField` models field
(`gh-443 <https://github.com/django/django-localflavor/pull/443>`_).
- Added permanent account number(PAN) field in Indian flavor.
(`gh-457 <https://github.com/django/django-localflavor/pull/457>`_).
- Added the Canadian Models fields.
(`gh-465 <https://github.com/django/django-localflavor/pull/465>`_).
Modifications to existing flavors:
- Properly validate IBANs using BBAN to ensure invalid IBANs cannot be entered,
updated IBAN_SEPA_COUNTRIES and IBAN_COUNTRY_CODE_LENGTH to latest data
(`gh-486 <https://github.com/django/django-localflavor/pull/486>`_).
- Fix typo in MarijampolÄ— county name in LTCountySelect
(`gh-480 <https://github.com/django/django-localflavor/pull/480>`_).
- Add support for new Finnish identity codes
(`gh-478 <https://github.com/django/django-localflavor/pull/478>`_).
- CIF spanish starting with 'U' bug resolved
(`gh-469 <https://github.com/django/django-localflavor/pull/469>`_).
- Fix error code for BRPostalCodeValidator
(`gh-448 <https://github.com/django/django-localflavor/pull/448>`_).
- Fix spelling of the India state of Chhattisgarh
(`gh-444 <https://github.com/django/django-localflavor/pull/444>`_).
- Fix CURP regex for MX flavor
(`gh-449 <https://github.com/django/django-localflavor/pull/449>`_).
- Change text based fields that inherited from `django.forms.Field` to inherit \
from `django.forms.CharField`. The
following fields have been updated
(`gh-446 <https://github.com/django/django-localflavor/pull/446>`_):
- `at.forms.ATSocialSecurityNumberField`
- `br.forms.BRStateChoiceField`
- `ca.forms.CAProvinceField`
- `ca.forms.CASocialInsuranceNumberField`
- `ch.forms.CHIdentityCardNumberField`
- `cu.forms.CUProvinceField`
- `cu.forms.CURegionField`
- `cz.forms.CZBirthNumberField`
- `cz.forms.CZICNumberField`
- `de.forms.DEIdentityCardNumberField`
- `ee.forms.EEBusinessRegistryCode`
- `ee.forms.EEPersonalIdentificationCode`
- `fi.forms.FISocialSecurityNumber`
- `gr.forms.GRTaxNumberCodeField`
- `hr.forms.HRJMBAGField`
- `hr.forms.HRJMBGField`
- `hr.forms.HRLicensePlateField`
- `hr.forms.HRPostalCodeField`
- `id_.forms.IDLicensePlateField`
- `id_.forms.IDNationalIdentityNumberField`
- `id_.forms.IDPostCodeField`
- `il.forms.ILIDNumberField`
- `in_.forms.INAadhaarNumberField`
- `in_.forms.INStateField`
- `ir.forms.IRIDNumberField`
- `it.forms.ITVatNumberField`
- `lt.forms.LTPostalCodeField`
- `lv.forms.LVPersonalCodeField`
- `lv.forms.LVPostalCodeField`
- `no.forms.NOSocialSecurityNumber`
- `nz.forms.NZBankAccountNumberField`
- `pt.forms.PTCitizenCardNumberField`
- `pt.forms.PTSocialSecurityNumberField`
- `ro.forms.ROCountyField`
- `tr.forms.TRIdentificationNumberField`
- `us.forms.USStateField`
- Removed inconvenient word VACA from CURP_INCONVENIENT_WORDS for MX flavor
Other changes:
- Use 'return value' when value is in the empty_values list
(`gh-461 <https://github.com/django/django-localflavor/pull/461>`_).
- Dropped support for Django 2.2, 3.0 and 3.1.
- Dropped support for Python 3.5.
- Added support for Python 3.10 and 3.11.
|
2023-07-13 12:03:31 by Thomas Klausner | Files touched by this commit (45) |
Log message:
*: switch django users to py-django3
|
2023-04-30 20:58:54 by Thomas Klausner | Files touched by this commit (2) |
Log message:
*: not for python 2
|
2023-03-31 03:14:36 by Joerg Sonnenberger | Files touched by this commit (4) |
Log message:
Add py-django-localflavor-3.1:
django-localflavor is a collection of assorted pieces of code that are
useful for particular countries or cultures. These are called the "local
flavor" add-ons and live in the localflavor package.
Inside that package, country- or culture-specific code is organized into
subpackages, named using ISO 3166 country codes.
Most of the localflavor add-ons are localized form components deriving
from the forms framework - for example, a USStateField that knows how to
validate U.S. state abbreviations, and a FISocialSecurityNumber that
knows how to validate Finnish social security numbers.
|