Ticket #16132: correct-error-message.diff
File correct-error-message.diff, 552 bytes (added by , 13 years ago) |
---|
-
django/contrib/localflavor/in_/forms.py
12 12 13 13 class INZipCodeField(RegexField): 14 14 default_error_messages = { 15 'invalid': gettext(u'Enter a zip code in the format XXXXXX X.'),15 'invalid': gettext(u'Enter a zip code in the format XXXXXX.'), 16 16 } 17 17 18 18 def __init__(self, max_length=None, min_length=None, *args, **kwargs):