Ticket #12337: forms_save_m2m_exclude.diff
File forms_save_m2m_exclude.diff, 509 bytes (added by , 14 years ago) |
---|
-
django/forms/models.py
79 79 for f in opts.many_to_many: 80 80 if fields and f.name not in fields: 81 81 continue 82 if exclude and f.name in exclude: 83 continue 82 84 if f.name in cleaned_data: 83 85 f.save_form_data(instance, cleaned_data[f.name]) 84 86 if commit: