Ticket #14872: 14872.diff
File 14872.diff, 482 bytes (added by , 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): 57 57 58 58 def __init__(self, *args, **kwargs): 59 59 super(ZAPostCodeField, self).__init__(r'^\d{4}$', 60 max_length=None, min_length=None) 60 max_length=None, min_length=None, *args, **kwargs) 61