You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At various places, we delete objects and then replace them, but it can happen that the process of replacing them is not successful. We should make the deleting and the replacing happen within one transaction.
the import_contributions and import_expenditures are good examples.
At various places, we delete objects and then replace them, but it can happen that the process of replacing them is not successful. We should make the deleting and the replacing happen within one transaction.
the
import_contributions
andimport_expenditures
are good examples.openness-project-nmid/camp_fin/management/commands/import_transactions.py
Lines 146 to 214 in 5bf35c0
we could do the transaction in a fine-grained way, or we could have the entire run of the script be in a transaction the way that pupa works.
The text was updated successfully, but these errors were encountered: