Re: Model.__eq__

2013-08-19 Thread Anssi Kääriäinen
On Wednesday, August 7, 2013 10:45:01 AM UTC+3, Anssi Kääriäinen wrote: > > The way Model.__eq__ works currently should be improved. There is one > definite bug in __eq__, that is deferred instances aren't never equal to > non-deferred instances with same PK. There are

Model.__eq__

2013-08-07 Thread Anssi Kääriäinen
The way Model.__eq__ works currently should be improved. There is one definite bug in __eq__, that is deferred instances aren't never equal to non-deferred instances with same PK. There are also two possible improvements: make proxy models equal to their concrete parents (this also