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

Add queryset evaluation to actually lock root genome #35

Merged
merged 2 commits into from
Oct 31, 2019

Conversation

yaoyuyang
Copy link
Member

https://docs.djangoproject.com/en/2.2/ref/models/querysets/#select-for-u
pdate doc tells that only When the queryset is evaluated (for entry in entries in this case), the lock will happen. I tested this on
edge-staging and works as expected. The previous version without
queryset evaluation did not work.

https://docs.djangoproject.com/en/2.2/ref/models/querysets/#select-for-u
pdate doc tells that only `When the queryset is evaluated (for entry in
entries in this case),` the lock will happen. I tested this on
edge-staging and works as expected. The previous version without
queryset evaluation did not work.
@benjiec
Copy link
Contributor

benjiec commented Oct 30, 2019

@yaoyuyang Looks great. Thanks. Makes sense.

@yaoyuyang yaoyuyang merged commit 80a1149 into master Oct 31, 2019
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.

None yet

2 participants