Changeset 6985 for django/trunk/django/contrib/localflavor/ca
- Timestamp:
- 01/01/08 23:23:21 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/localflavor/ca/forms.py
r6926 r6985 81 81 Checks the following rules to determine whether the number is valid: 82 82 83 * Conforms to the XXX-XXX-XXX Xformat.83 * Conforms to the XXX-XXX-XXX format. 84 84 * Passes the check digit process "Luhn Algorithm" 85 85 See: http://en.wikipedia.org/wiki/Social_Insurance_Number 86 86 """ 87 87 default_error_messages = { 88 'invalid': ugettext('Enter a valid Canadian Social Insurance number in XXX-XXX-XXX Xformat.'),88 'invalid': ugettext('Enter a valid Canadian Social Insurance number in XXX-XXX-XXX format.'), 89 89 } 90 90
