Ticket #6000: 00-reset-form.diff
File 00-reset-form.diff, 498 bytes (added by , 17 years ago) |
---|
-
django/newforms/forms.py
=== modified file 'django/newforms/forms.py'
240 240 241 241 def reset(self): 242 242 """Return this form to the state it was in before data was passed to it.""" 243 self.is_bound = False 243 244 self.data = {} 244 self. is_bound = False245 self._ _errors = None245 self.files = {} 246 self._errors = None 246 247 247 248 def _get_media(self): 248 249 """