Closed aericson closed 5 years ago
I think we should use Django's update_or_create. The current implementation does not use select_for_update and does not wrap queries into a transaction and other corner cases that Django already handle with tested code.
update_or_create
select_for_update
Thanks! I merged and released these changes with rebase in 0.5.1
I think we should use Django's
update_or_create
. The current implementation does not useselect_for_update
and does not wrap queries into a transaction and other corner cases that Django already handle with tested code.