Re: Django explicit `order_by` by ForeignKey field

2014-04-28 Thread alTus
Wow, that's cool, thanks! As I see it was quite a long running issue. понедельник, 28 апреля 2014 г., 23:39:53 UTC+4 пользователь charettes написал: > > After discussion this was escalated to a release blocker in order to make > sure we don't miss the opportunity of fixing it correctly. > > I at

Re: Django explicit `order_by` by ForeignKey field

2014-04-28 Thread charettes
After discussion this was escalated to a release blocker in order to make sure we don't miss the opportunity of fixing it correctly. I attached a patch to the ticket that makes sure that explicitly ordering by a relation source field (group_id in your case) produces the expected result. Simon

Django explicit `order_by` by ForeignKey field

2014-04-28 Thread alTus
I've already started this topic in django-users ( https://groups.google.com/forum/#!topic/django-users/k9K7VsPe6aA) and got an advice there to ask here. It's not a big issue and it can be solved quite easily as I can see from django sources. Also there're some workarounds to deal with it but I wr