Ticket #1207: dont-clobber-new_data.patch

File dont-clobber-new_data.patch, 476 bytes (added by brenocon@…, 9 years ago)

patch so new_data doesnt get bogus [None] value filled in by do_html2python

  • django/forms/__init__.py

     
    9999        expected to deal with invalid input.
    100100        """
    101101        for field in self.fields:
    102             field.convert_post_data(new_data)
     102            if field.field_name in new_data:
     103                field.convert_post_data(new_data)
    103104
    104105class FormWrapper:
    105106    """
Back to Top