Skip to main content

django_localflavor_br

Country-specific Django helpers for Brazil.

What’s in the Brazil localflavor?

  • forms.BRPhoneNumberField: A form field that validates input as a Brazilian phone number, with the format XX-XXXX-XXXX.

  • forms.BRZipCodeField: A form field that validates input as a Brazilian zip code, with the format XXXXX-XXX.

  • forms.BRStateSelect: A Select widget that uses a list of Brazilian states/territories as its choices.

  • forms.BRCPFField: A form field that validates input as Brazilian CPF. Input can either be of the format XXX.XXX.XXX-VD or be a group of 11 digits.

  • forms.BRCNPJField: A form field that validates input as Brazilian CNPJ. Input can either be of the format XX.XXX.XXX/XXXX-XX or be a group of 14 digits.

See the source code for full details.

About localflavors

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, phone number formats or government ID numbers.

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

For a full list of available localflavors, see https://github.com/django/

Metadata

Release files for axado.django-localflavor-br 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axado.django-localflavor-br 1.0.1
File Size Uploaded Provenance Actions
axado.django-localflavor-br-1.0.1.tar.gz 6.0 kB Without provenance Details for axado.django-localflavor-br-1.0.1.tar.gz

Release files / axado.django-localflavor-br-1.0.1.tar.gz

Download URL axado.django-localflavor-br-1.0.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3e96695be6f28dd1965c942bd8bac2cd0d9c5e63ed563105103ad6f90aa0abec
BLAKE2b-256 checksum
How to use checksums
729df16e91aafb2d0ad1599343a15b3b8439029b2221c6c117852b3a1a81cf5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for axado.django-localflavor-br 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page