Fixed #16292 -- Removed broken link for Swiss localflavor documentation. Thanks, BernhardEssl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
89277c7f6e
commit
ac4d015703
|
@ -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.'),
|
||||||
|
|
|
@ -1059,7 +1059,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…
Reference in New Issue