Ticket #9319: 9319.diff

File 9319.diff, 662 bytes (added by ctao, 7 years ago)
  • django/forms/models.py

     
    280280                    )
    281281               
    282282                # Remove the data from the cleaned_data dict since it was invalid
    283                 for field_name in unique_check:
    284                     del self.cleaned_data[field_name]
     283#                for field_name in unique_check:
     284#                    del self.cleaned_data[field_name]
    285285       
    286286        if form_errors:
    287287            # Raise the unique together errors since they are considered form-wide.
Back to Top