mirror of
https://github.com/django/django.git
synced 2025-07-06 02:39:12 +00:00
[1.3.X] Fixed #16292 -- Removed broken link for Swiss localflavor documentation. Thanks, BernhardEssl.
Backport from trunk (r16435). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7880d99900
commit
d90bd88d73
@ -59,7 +59,6 @@ class CHIdentityCardNumberField(Field):
|
|||||||
* Conforms to the X1234567<0 or 1234567890 format.
|
* Conforms to the X1234567<0 or 1234567890 format.
|
||||||
* Included checksums match calculated checksums
|
* Included checksums match calculated checksums
|
||||||
|
|
||||||
Algorithm is documented at http://adi.kousz.ch/artikel/IDCHE.htm
|
|
||||||
"""
|
"""
|
||||||
default_error_messages = {
|
default_error_messages = {
|
||||||
'invalid': _('Enter a valid Swiss identity or passport card number in X1234567<0 or 1234567890 format.'),
|
'invalid': _('Enter a valid Swiss identity or passport card number in X1234567<0 or 1234567890 format.'),
|
||||||
|
@ -849,7 +849,7 @@ Switzerland (``ch``)
|
|||||||
|
|
||||||
A form field that validates input as a Swiss identity card number.
|
A form field that validates input as a Swiss identity card number.
|
||||||
A valid number must confirm to the X1234567<0 or 1234567890 format and
|
A valid number must confirm to the X1234567<0 or 1234567890 format and
|
||||||
have the correct checksums -- see http://adi.kousz.ch/artikel/IDCHE.htm.
|
have the correct checksums.
|
||||||
|
|
||||||
.. class:: ch.forms.CHPhoneNumberField
|
.. class:: ch.forms.CHPhoneNumberField
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user