Refactor curation queries #343
Labels
bug
Issues with bugs that need to be fixed
improvement
Issues with improvements for existing features
Milestone
Updating curations for every taxon update is complex. The signals we set up are not handling well all the edge cases. Perhaps a simpler way is, instead of setting the curation relationship to every taxon, simply fetch curations from the ancestors. In this way, we don't need to handle the high burden of updating at every transaction.
This issue will attempt to solve the above and address #341. But before, there's a log of cleaning up to do. Mainly, moving the logic for taxon update, media synchronization, and curation update to
Taxon
methods. This is also a first step towards reducing the 6 redundant copies of the code in the viewsupload_media_step2
,editing_media_details
,editing_media_list
,my_media_details
,revision_media_details
,my_curations_media_details
.The text was updated successfully, but these errors were encountered: