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

Dont copy relations twice #1

Merged
merged 8 commits into from
Mar 23, 2022
Merged

Dont copy relations twice #1

merged 8 commits into from
Mar 23, 2022

Conversation

saschahofmann
Copy link
Collaborator

@saschahofmann saschahofmann commented Mar 23, 2022

As explained in tj-django#544, I am trying to keep track of instances that have been cloned before and reuse that copy for later references that otherwise would be cloned again.

I probably still need to write a lot more tests but before I do that I wanted to ask whether you're happy with the direction.

I added on example test, are you ok with me adding cross-references between the tables or should I create new models and do you prefer one big test for all cases or individual ones?

@saschahofmann saschahofmann merged commit b20ebcf into main Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant