1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed #12761 -- Added Paraguayan local flavor. Thanks, dschulz and BernhardEssl.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2011-06-28 10:17:23 +00:00
parent 54552ee29f
commit f801e2c15d
7 changed files with 136 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ Countries currently supported by :mod:`~django.contrib.localflavor` are:
* Peru_
* Poland_
* Portugal_
* Paraguay_
* Romania_
* Russia_
* Slovakia_
@@ -114,6 +115,7 @@ Here's an example of how to use them::
.. _Macedonia: `Macedonia (mk)`_
.. _Mexico: `Mexico (mx)`_
.. _Norway: `Norway (no)`_
.. _Paraguay: `Paraguay (py)`_
.. _Peru: `Peru (pe)`_
.. _Poland: `Poland (pl)`_
.. _Portugal: `Portugal (pt)`_
@@ -784,6 +786,19 @@ Norway (``no``)
A ``Select`` widget that uses a list of Norwegian municipalities (fylker) as
its choices.
Paraguay (``py``)
=================
.. versionadded:: 1.4
.. class:: py.forms.PyDepartmentSelect
A ``Select`` widget with a list of Paraguayan departments as choices.
.. class:: py.forms.PyNumberedDepartmentSelect
A ``Select`` widget with a roman numbered list of Paraguayan departments as choices.
Peru (``pe``)
=============