Skip to main content

django_localflavor_au

Country-specific Django helpers for Australia.

What’s in the Australia localflavor?

  • forms.AUPostCodeField: A form field that validates input as an Australian postcode.

  • forms.AUPhoneNumberField: A form field that validates input as an Australian phone number. Valid numbers have ten digits.

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

  • models.AUPhoneNumberField: A model field that checks that the value is a valid Australian phone number (ten digits).

  • models.AUStateField: A model field that forms represent as a forms.AUStateField field and stores the three-letter Australian state abbreviation in the database.

  • models.AUPostCodeField: A model field that forms represent as a forms.AUPostCodeField field and stores the four-digit Australian postcode in the database.

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 django-localflavor-au-tjh 1.1.2

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-au-tjh 1.1.2
File Size Uploaded
django-localflavor-au-tjh-1.1.2.tar.gz 6.0 kB Details

Release files / django-localflavor-au-tjh-1.1.2.tar.gz

Download URL django-localflavor-au-tjh-1.1.2.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cc722a6e7c87b5e7aa95a03e95184a4603d8a8c80caee5a27d60763890e36554
BLAKE2b-256 checksum
How to use checksums
bb6830ed2fce795186600b5febdef7753848649bb30e6a1666a1989851f21ff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.2 This release

1 release file

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