Skip to main content

Country-specific Django helpers

Project description

https://img.shields.io/pypi/v/django-localflavor.svg https://github.com/django/django-localflavor/actions/workflows/test.yml/badge.svg https://img.shields.io/codecov/c/github/django/django-localflavor/master.svg https://readthedocs.org/projects/django-localflavor/badge/?version=latest&style=plastic

Django’s “localflavor” packages offer additional functionality for particular countries or cultures. For example, these might include form fields for your country’s postal codes or government ID numbers.

This code used to live in Django proper – in django.contrib.localflavor – but was separated into a standalone package in Django 1.5 to keep the framework’s core clean.

For a full list of available localflavors, see https://django-localflavor.readthedocs.io/

django-localflavor can also be found on and installed from the Python Package Index: https://pypi-hypernode.com/pypi/django-localflavor

Release Overview

You’re encouraged to use the latest version of this package unless you need support for an unsupported version of Django.

2023-04-22 - 4.0: Django 3.2, 4.0, 4.1 & 4.2

2021-05-28 - 3.1: Django 2.2, 3.0, 3.1 & 3.2

This release contains breaking data changes for the MX and IN flavors. Please see the changelog for details: https://github.com/django/django-localflavor/blob/3.1/docs/changelog.rst

2020-02-19 - 3.0: Django 2.2 & 3.0

All deprecated code has been removed in this release. This release also includes a number of other breaking changes. Please see the changelog for details: https://github.com/django/django-localflavor/blob/3.0/docs/changelog.rst

2019-05-07 - 2.2: Django 1.11 - 2.2

All deprecated code will be removed in the 3.0 release. Please run your project’s tests using python -Wd so that deprecation warnings appear and can be addressed. See changelog for details.

2018-08-24 - 2.1: Django 1.11 - 2.1

2017-12-30 - 2.0: Django 1.11 - 2.0

All deprecated code has been removed in this release. See changelog for details.

2017-11-22 - 1.6: Django 1.8 - 1.11

All deprecated code will be removed in the next release. Please run your project’s tests using python -Wd so that deprecation warnings appear and can be addressed.

2017-05-26 - 1.5: Django 1.8 - 1.11

2017-01-03 - 1.4: Django 1.8 - 1.10

2016-05-06 - 1.3: Django 1.7 - 1.9

2015-11-27 - 1.2: Django 1.5 - 1.9

2014-12-10 - 1.1: Django 1.5 - 1.7

2013-07-29 - 1.0: Django 1.5 - 1.6

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-localflavor-4.0.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

django_localflavor-4.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file django-localflavor-4.0.tar.gz.

File metadata

  • Download URL: django-localflavor-4.0.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for django-localflavor-4.0.tar.gz
Algorithm Hash digest
SHA256 11859e522dba74aa6dde5a659242b1fbc5efb4dea08e9b77315402bdeca5194e
MD5 e3e44508cd4527b01829dd4521ed6cdf
BLAKE2b-256 b93118b46a206ee2c96997e8d5f49db7bb2cc8cc463fa90829545583c7042ad4

See more details on using hashes here.

File details

Details for the file django_localflavor-4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_localflavor-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5b1df03ca8e10df9d1b3c2e4314e43383067868183cdf41ab4e7a973694a8b
MD5 8c5affe45811f83f03e190c11e2cd236
BLAKE2b-256 4871768750c99eba036c9053de7f2749493d685b0bf88414248538f0862ec335

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page