Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeError in wrap_many_related_manager_add by proper tenant_id check #217

Closed
wants to merge 1 commit into from

Conversation

rob101
Copy link

@rob101 rob101 commented Apr 21, 2024

Fixes issue #216

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant