mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #11251 -- Extended Australian localflavor to ship a few model fields additionally. Thanks, Simon Meers and Julien Phalip.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
157255fd98
commit
59d1f82634
8 changed files with 151 additions and 4 deletions
|
@ -202,6 +202,21 @@ Australia (``au``)
|
|||
A ``Select`` widget that uses a list of Australian states/territories as its
|
||||
choices.
|
||||
|
||||
.. class:: au.models.AUPhoneNumberField
|
||||
|
||||
A model field that checks that the value is a valid Australian phone
|
||||
number (ten digits).
|
||||
|
||||
.. class:: au.models.AUStateField
|
||||
|
||||
A model field that forms represent as a ``forms.AUStateField`` field and
|
||||
stores the three-letter Australian state abbreviation in the database.
|
||||
|
||||
.. class:: au.models.AUPostCodeField
|
||||
|
||||
A model field that forms represent as a ``forms.AUPostCodeField`` field
|
||||
and stores the four-digit Australian postcode in the database.
|
||||
|
||||
Austria (``at``)
|
||||
================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue