Metadata-Version: 2.4
Name: django-localflavor
Version: 5.0
Summary: Country-specific Django helpers
Author-email: Django Software Foundation <foundation@djangoproject.com>
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://django-localflavor.readthedocs.io/en/latest/
Project-URL: Source, https://github.com/django/django-localflavor
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: django>=4.2
Requires-Dist: python-stdnum>=1.6
Dynamic: license-file

==================
django-localflavor
==================

.. image:: https://img.shields.io/pypi/v/django-localflavor.svg
   :target: https://pypi.org/project/django-localflavor/

.. image:: https://github.com/django/django-localflavor/actions/workflows/test.yml/badge.svg
    :target: https://github.com/django/django-localflavor/actions/workflows/test.yml

.. image:: https://img.shields.io/codecov/c/github/django/django-localflavor/master.svg
   :target: http://codecov.io/github/django/django-localflavor?branch=master

.. image:: https://readthedocs.org/projects/django-localflavor/badge/?version=latest&style=plastic
   :target: https://django-localflavor.readthedocs.io/en/latest/

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.

django-localflavor no longer includes country specific phone number fields. The django-phonenumber-field package has
excellent support for validating phone numbers in many countries and we recommend this package.
https://pypi.org/project/django-phonenumber-field/


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.org/project/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.

**2025-05-21 - 5.0**: Django 4.2, 5.0, 5.1 & 5.2

This release contains breaking data changes for the LV, NP and NO flavors.
Please see the changelog for details:
https://github.com/django/django-localflavor/blob/5.0/docs/changelog.rst

**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
