Ticket #4271: 4271.diff
File 4271.diff, 564 bytes (added by , 18 years ago) |
---|
-
django/newforms/forms.py
=== modified file 'django/newforms/forms.py'
57 57 # class, not to the Form class. 58 58 def __init__(self, data=None, auto_id='id_%s', prefix=None, initial=None): 59 59 self.is_bound = data is not None 60 self.data = data or {} 60 if data: 61 self.data = data.copy() 62 else: 63 self.data = {} 61 64 self.auto_id = auto_id 62 65 self.prefix = prefix 63 66 self.initial = initial or {}