Changes between Initial Version and Version 1 of Ticket #25227, comment 6


Ignore:
Timestamp:
Aug 5, 2015, 11:28:57 PM (9 years ago)
Author:
Javier Candeira

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25227, comment 6

    initial v1  
    3434Sometimes 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.
    3535
    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`.
     362. 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`.
Back to Top