Changes between Version 1 and Version 2 of Ticket #33209
- Timestamp:
- Oct 19, 2021, 8:37:26 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33209 – Description
v1 v2 28 28 29 29 company.members.add(member, through_defaults={'role': 1}) 30 assert Company.objects.all().count() == 130 assert company.members.through.objects.all().count() == 1 31 31 32 32 company.members.add(member, through_defaults={'role': 2}) 33 assert Company.objects.all().count() == 2 # fails33 assert company.members.through.objects.all().count() == 2 # fails 34 34 }}} 35 35