diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-08-23 04:41:56 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-08-23 04:41:56 +0000 |
| commit | 43024142a14afe0b364895e88e0836dcb83dbef8 (patch) | |
| tree | 5424311c7678e435ce6787cbe9adb5c9934a16ef /docs | |
| parent | 1e72b1c5c11d1d2dc3ce3660a1eb6b775dcca5a5 (diff) | |
Fixed #16202 -- Added a Slovenian localflavor. Thanks to Jure Cuhalev <gandalf@owca.info>, Gasper Zejn, Domen Kozar and iElectric for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/localflavor.txt | 31 | ||||
| -rw-r--r-- | docs/releases/1.4.txt | 5 |
2 files changed, 36 insertions, 0 deletions
diff --git a/docs/ref/contrib/localflavor.txt b/docs/ref/contrib/localflavor.txt index 0f99f35b4d..fbb10a6a35 100644 --- a/docs/ref/contrib/localflavor.txt +++ b/docs/ref/contrib/localflavor.txt @@ -70,6 +70,7 @@ Countries currently supported by :mod:`~django.contrib.localflavor` are: * Romania_ * Russia_ * Slovakia_ + * Slovenia_ * `South Africa`_ * Spain_ * Sweden_ @@ -126,6 +127,7 @@ Here's an example of how to use them:: .. _Romania: `Romania (ro)`_ .. _Russia: `Russia (ru)`_ .. _Slovakia: `Slovakia (sk)`_ +.. _Slovenia: `Slovenia (si)`_ .. _South Africa: `South Africa (za)`_ .. _Spain: `Spain (es)`_ .. _Sweden: `Sweden (se)`_ @@ -1068,6 +1070,35 @@ Slovakia (``sk``) A ``Select`` widget that uses a list of Slovak regions as its choices. +Slovenia (``si``) +================= + +.. class:: si.forms.SIEMSOField + + A form field that validates input as Slovenian personal identification + number and stores gender and birthday to self.info dictionary. + +.. class:: si.forms.SITaxNumberField + + A form field that validates input as a Slovenian tax number. Valid input + is SIXXXXXXXX or XXXXXXXX. + +.. class:: si.forms.SIPhoneNumberField + + A form field that validates input as a Slovenian phone number. Phone + number must contain at least local area code with optional country code. + +.. class:: si.forms.SIPostalCodeField + + A form field that provides a choice field of major Slovenian postal + codes. + +.. class:: si.forms.SIPostalCodeSelect + + A ``Select`` widget that uses a list of major Slovenian postal codes as + its choices. + + South Africa (``za``) ===================== diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt index d676ff045c..a63c55c912 100644 --- a/docs/releases/1.4.txt +++ b/docs/releases/1.4.txt @@ -235,6 +235,11 @@ filename. For example, the file ``css/styles.css`` would also be saved as See the :class:`~django.contrib.staticfiles.storage.CachedStaticFilesStorage` docs for more information. +Localflavor changes +~~~~~~~~~~~~~~~~~~~ + + * A Slovenian (si) localflavor was added. + Minor features ~~~~~~~~~~~~~~ |
