Ticket #16132: correct-error-message.diff

File correct-error-message.diff, 552 bytes (added by david.winterbottom@…, 13 years ago)

Patch file

  • django/contrib/localflavor/in_/forms.py

     
    1212
    1313class INZipCodeField(RegexField):
    1414    default_error_messages = {
    15         'invalid': gettext(u'Enter a zip code in the format XXXXXXX.'),
     15        'invalid': gettext(u'Enter a zip code in the format XXXXXX.'),
    1616    }
    1717
    1818    def __init__(self, max_length=None, min_length=None, *args, **kwargs):
Back to Top