Django

Code

Show
Ignore:
Timestamp:
01/01/08 23:23:21 (1 year ago)
Author:
adrian
Message:

Fixed #6291 -- Fixed error in CASocialInsuranceNumberField documentation and error message. Thanks, jeff+django@ivany.org and arien

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/localflavor/ca/forms.py

    r6926 r6985  
    8181    Checks the following rules to determine whether the number is valid: 
    8282 
    83         * Conforms to the XXX-XXX-XXXX format. 
     83        * Conforms to the XXX-XXX-XXX format. 
    8484        * Passes the check digit process "Luhn Algorithm" 
    8585             See: http://en.wikipedia.org/wiki/Social_Insurance_Number 
    8686    """ 
    8787    default_error_messages = { 
    88         'invalid': ugettext('Enter a valid Canadian Social Insurance number in XXX-XXX-XXXX format.'), 
     88        'invalid': ugettext('Enter a valid Canadian Social Insurance number in XXX-XXX-XXX format.'), 
    8989    } 
    9090