Changes between Initial Version and Version 1 of Ticket #25227, comment 6
- Timestamp:
- Aug 5, 2015, 11:28:57 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25227, comment 6
initial v1 34 34 Sometimes the method is called for its return value (an instance of `django.model`), and some times it's not assigned to anything, which makes me think that the author of the code knows there are side effects in play. 35 35 36 2. From reading the code while writing the patch, I remember that, for instance, a ModelForm has an associated Model instance, which gets updated, e.g., with a save_m2m method that knows what information it should commit when `form.save()` or the associated model's instance's `save()` is called with the default `commit=True`.36 2. From reading the code while writing the patch, I remember that, for instance, a ModelForm gets updated, e.g., with a save_m2m method that knows what information it should commit when `form.save()` is called with the default `commit=True`.