Skip to main content

django_localflavor_lt

Country-specific Django helpers for Lithuania.

What’s in the Lithuania localflavor?

  • forms.LTIDCodeField: A form field that validated input as a Lithuanian identity code. Following checks are made:

    • The number consists of 11 digits.

    • The birthdate is a valid date.

    • The calculated checksum is correct.

  • forms.LTCountySelect: A form Select widget that uses a list of Lithuanian counties as choices.

  • forms.LTMunicipalitySelect: A form Select widget that uses a list of Lithuanian municipalities as choices.

  • forms.LTPostalCodeField: A form input that validates Lithuanian postal codes in the format XXXXX or LT-XXXXX.

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 list of other available localflavors, see https://github.com/django/

Metadata

Release files for django-localflavor-lt 1.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 django-localflavor-lt 1.1
File Size Uploaded Provenance Actions
django-localflavor-lt-1.1.tar.gz 3.7 kB Without provenance Details for django-localflavor-lt-1.1.tar.gz

Release files / django-localflavor-lt-1.1.tar.gz

Download URL django-localflavor-lt-1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1ad95b67a50007a6d024d42fc2b57a772c1d40e3e962adabf8022ad4450ce1a5
BLAKE2b-256 checksum
How to use checksums
fba266c6682fb2f6c6ef31ca2755d282eea3c1fe749caaa94220f70d0876fccb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-localflavor-lt 1.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.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