This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.
  • 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/

Release History

Release History

This version
History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-localflavor-lt-1.1.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source Mar 16, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting