Changes between Version 3 and Version 4 of Ticket #33209


Ignore:
Timestamp:
Oct 19, 2021, 8:42:41 PM (3 years ago)
Author:
Yuta Okamoto
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33209 – Description

    v3 v4  
    88
    99class Member(models.Model):
    10     companies = models.ManyToManyField(Company, through='CompanyMember', related_name='members')
     10    companies = models.ManyToManyField(Company, through='CompanyMember', through_fields=('company', 'member'), related_name='members')
    1111
    1212class CompanyMember:
Back to Top