Ticket #14872: 14872.diff

File 14872.diff, 482 bytes (added by Idan Gazit, 14 years ago)
  • django/contrib/localflavor/za/forms.py

    diff --git a/django/contrib/localflavor/za/forms.py b/django/contrib/localflavor/za/forms.py
    index f501aa0..324e336 100644
    a b class ZAPostCodeField(RegexField):  
    5757
    5858    def __init__(self, *args, **kwargs):
    5959        super(ZAPostCodeField, self).__init__(r'^\d{4}$',
    60             max_length=None, min_length=None)
     60            max_length=None, min_length=None, *args, **kwargs)
     61
Back to Top