Changes between Version 1 and Version 2 of Ticket #33209


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33209 – Description

    v1 v2  
    2828
    2929company.members.add(member, through_defaults={'role': 1})
    30 assert Company.objects.all().count() == 1
     30assert company.members.through.objects.all().count() == 1
    3131
    3232company.members.add(member, through_defaults={'role': 2})
    33 assert Company.objects.all().count() == 2  # fails
     33assert company.members.through.objects.all().count() == 2  # fails
    3434}}}
    3535
Back to Top