Country-specific Django helpers for Lithuania.
Project description
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.
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-localflavor-lt-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6497751ec8071fad03dbe9906bcac3f6e091fd77a65d05daa989bfe87eefe8b9 |
|
MD5 | 8681b8e32834badfcb13cb9e2021703a |
|
BLAKE2b-256 | 37076af6da80c7de2e0d84ddc621a08006789c09767c269c68e0ff9c5c789ac0 |