Full outer join in django

后端 未结 2 757
抹茶落季
抹茶落季 2021-02-04 12:05

How can I create a query for a full outer join across a M2M relationchip using the django QuerySet API?

It that is not supported, some hint about creating my own manager

2条回答
  •  清酒与你
    2021-02-04 12:41

    Colin, one of the guys I work with, wrote a post awhile back about doing custom joins in Django:

    http://www.caktusgroup.com/blog/2009/09/28/custom-joins-with-djangos-queryjoin/

    You might be able to find something useful there!

提交回复
热议问题