Resolved an issue where wrap_many_related_manager_add would raise a TypeError if tenant_id was already set in through_defaults. The function now checks if tenant_id exists in through_defaults before setting it, ensuring compatibility with existing tenant contexts.
Fixes issue #216
Resolved an issue where
wrap_many_related_manager_add
would raise aTypeError
iftenant_id
was already set inthrough_defaults
. The function now checks iftenant_id
exists inthrough_defaults
before setting it, ensuring compatibility with existing tenant contexts.