Changes between Initial Version and Version 1 of Ticket #29893, comment 3


Ignore:
Timestamp:
Oct 27, 2018, 4:14:59 PM (6 years ago)
Author:
Max

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29893, comment 3

    initial v1  
    1 I agree that the case of having __len__ defined on a model may be rare, but i would strongly propose doing the modification of this check. Although this may not be exhaustive (you mentioned cases like {{{self.instance}}}), i think it is worth it, because the current situation leads to highly unexpected behavior, which can be definitely avoided in this particular case.
     1I agree that the case of having {{{__len__}}} defined on a model may be rare, but i would strongly propose doing the modification of this check. Although this may not be exhaustive (you mentioned cases like {{{self.instance}}}), i think it is worth it, because the current situation leads to highly unexpected behavior, which can be definitely avoided in this particular case.
Back to Top