Ticket #12996: 12996.2.diff

File 12996.2.diff, 890 bytes (added by jadinvt, 15 years ago)
  • django/contrib/localflavor/it/forms.py

    ### Eclipse Workspace Patch 1.0
    #P Django Code Base
     
    1616    }
    1717    def __init__(self, *args, **kwargs):
    1818        super(ITZipCodeField, self).__init__(r'^\d{5}$',
    19         max_length=None, min_length=None, *args, **kwargs)
     19        *args, **kwargs)
    2020
    2121class ITRegionSelect(Select):
    2222    """
     
    4646
    4747    def __init__(self, *args, **kwargs):
    4848        super(ITSocialSecurityNumberField, self).__init__(r'^\w{3}\s*\w{3}\s*\w{5}\s*\w{5}$',
    49         max_length=None, min_length=None, *args, **kwargs)
     49        *args, **kwargs)
    5050
    5151    def clean(self, value):
    5252        value = super(ITSocialSecurityNumberField, self).clean(value)
Back to Top