diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-04-28 13:20:33 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-04-28 13:20:33 +0000 |
| commit | 07854d1c44fcf1243afeec087f31651fd5c2264b (patch) | |
| tree | 5c1c0a42f95915a2161257c24bd000ec3f50f27a /docs | |
| parent | 086ab44336cd919ae6a90950f436e71b85d174a6 (diff) | |
Fixed #15713 -- Added a form field for validating Polish National ID Card numbers. Thanks, xtrqt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/localflavor.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ref/contrib/localflavor.txt b/docs/ref/contrib/localflavor.txt index 59ce7bf3c5..4935382093 100644 --- a/docs/ref/contrib/localflavor.txt +++ b/docs/ref/contrib/localflavor.txt @@ -759,6 +759,17 @@ Poland (``pl``) .. _PESEL: http://en.wikipedia.org/wiki/PESEL +.. versionadded:: 1.4 + +.. class:: pl.forms.PLNationalIDCardNumberField + + A form field that validates input as a Polish National ID Card number. The + valid format is AAAXXXXXX, where A is letter (A-Z), X is digit and left-most + digit is checksum digit. More information about checksum calculation algorithm + see `Polish identity card`_. + +.. _`Polish identity card`: http://en.wikipedia.org/wiki/Polish_identity_card + .. class:: pl.forms.PLREGONField A form field that validates input as a Polish National Official Business |
