Changes between Initial Version and Version 1 of Ticket #19061, comment 2


Ignore:
Timestamp:
Oct 2, 2012, 3:24:42 PM (12 years ago)
Author:
Preston Holmes

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19061, comment 2

    initial v1  
    1313this would eliminate the need for a bunch of conditional checks on that attribute, would be overridden by a field if specified, and raises a meaningful error if you try to set is_active on a model that doesn't implement an alternative.
    1414
    15 A caveat being, I haven't dug fully into exactly why/how fields override the property - so I'm not sure how fragile that is, but I did verify that it is the case.  I'm think it is is the way fields contribute_to_class - so it should be something pretty stable.
     15A caveat being, I haven't dug fully into exactly why/how fields override the property - so I'm not sure how fragile that is, but I did verify that it is the case.  I think it is the way fields contribute_to_class - so it should be something pretty stable.
    1616
Back to Top