Re: Filter via related_name in inherited model not working .. Bug?

2011-04-18 Thread robim42
gt;> print Item.objects.filter(owner__buyer_partner = s).query SELECT "multi_item"."id", "multi_item"."name", "multi_item"."owner_id" FROM "multi_item" INNER JOIN "multi_base" ON ("multi_item".&quo

Filter via related_name in inherited model not working .. Bug?

2011-04-15 Thread robim42
Hi guys, I used model inheritance quite a while and came across a problem which I can not resolve and actually think is might be a bug in django itself. Because of the size of the project I'm working on it would be a waste of space using the original models here ... so I simplified the classes to