summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-19 19:22:44 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-19 19:22:44 +0000
commit8ac9cbee2f9fc2a6df8c52872011bacf223a952f (patch)
tree3f5d9eb79bfe7af6e9e8b579d37c42be3743cd0a /docs
parent795b6a12714d8e2ce43c9316dd9d1af8223bf659 (diff)
Fixed #7763 -- Added a Romanian localflavor. Thanks, MihaiD.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/localflavor.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/localflavor.txt b/docs/localflavor.txt
index 5a2e5b8fda..f30c6a542b 100644
--- a/docs/localflavor.txt
+++ b/docs/localflavor.txt
@@ -47,6 +47,7 @@ Countries currently supported by ``localflavor`` are:
* Norway_
* Peru_
* Poland_
+ * Romania_
* Slovakia_
* `South Africa`_
* Spain_
@@ -84,6 +85,7 @@ them::
.. _Norway: `Norway (django.contrib.localflavor.no)`_
.. _Peru: `Peru (django.contrib.localflavor.pe)`_
.. _Poland: `Poland (django.contrib.localflavor.pl)`_
+.. _Romania: `Romania (django.contrib.localflavor.ro)`_
.. _Slovakia: `Slovakia (django.contrib.localflavor.sk)`_
.. _South Africa: `South Africa (django.contrib.localflavor.za)`_
.. _Spain: `Spain (django.contrib.localflavor.es)`_
@@ -497,6 +499,52 @@ PLVoivodeshipSelect
A ``Select`` widget that uses a list of Polish voivodeships (administrative
provinces) as its choices.
+Romania (``django.contrib.localflavor.ro``)
+============================================
+
+ROCIFField
+----------
+
+A form field that validates Romanian fiscal identification codes (CIF). The
+return value strips the leading RO, if given.
+
+ROCNPField
+----------
+
+A form field that validates Romanian personal numeric codes (CNP).
+
+ROCountyField
+-------------
+
+A form field that validates its input as a Romanian county (judet) name or
+abbreviation. It normalizes the input to the standard vehicle registration
+abbreviation for the given county. This field will only accept names written
+with diacritics; consider using ROCountySelect as an alternative.
+
+ROCountySelect
+--------------
+
+A ``Select`` widget that uses a list of Romanian counties (judete) as its
+choices.
+
+ROIBANField
+-----------
+
+A form field that validates its input as a Romanian International Bank
+Account Number (IBAN). The valid format is ROXX-XXXX-XXXX-XXXX-XXXX-XXXX,
+with or without hyphens.
+
+ROPhoneNumberField
+------------------
+
+A form field that validates Romanian phone numbers, short special numbers
+excluded.
+
+ROPostalCodeField
+-----------------
+
+A form field that validates Romanian postal codes.
+
Slovakia (``django.contrib.localflavor.sk``)
============================================