[Answered ]-Inner join between tables no related django

2👍

You can use a raw query:

roles = _Money.objects.raw("""SELECT 
                                  * 
                              FROM
                                  _Money m 
                                  INNER JOIN _Pay p 
                                  ON m.date = p.date""")

Also see this similar topic:

👤alecxe

Leave a comment