From ac4d015703868b6ebee93f690431d92dda04194b Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 18 Jun 2011 11:59:32 +0000 Subject: [PATCH] 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 --- django/contrib/localflavor/ch/forms.py | 1 - docs/ref/contrib/localflavor.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/django/contrib/localflavor/ch/forms.py b/django/contrib/localflavor/ch/forms.py index 9ccfcf8f18..d0c105dcbf 100644 --- a/django/contrib/localflavor/ch/forms.py +++ b/django/contrib/localflavor/ch/forms.py @@ -59,7 +59,6 @@ class CHIdentityCardNumberField(Field): * Conforms to the X1234567<0 or 1234567890 format. * Included checksums match calculated checksums - Algorithm is documented at http://adi.kousz.ch/artikel/IDCHE.htm """ default_error_messages = { 'invalid': _('Enter a valid Swiss identity or passport card number in X1234567<0 or 1234567890 format.'), diff --git a/docs/ref/contrib/localflavor.txt b/docs/ref/contrib/localflavor.txt index ff9efdc24f..d4c9dca495 100644 --- a/docs/ref/contrib/localflavor.txt +++ b/docs/ref/contrib/localflavor.txt @@ -1059,7 +1059,7 @@ Switzerland (``ch``) 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 - have the correct checksums -- see http://adi.kousz.ch/artikel/IDCHE.htm. + have the correct checksums. .. class:: ch.forms.CHPhoneNumberField