While reviewing django transactions migrations, an invoice saves without its line items. Which action best addresses the problem?
Answer options
- A. Write a reversible data migration
- B. Wrap creation in transaction.atomic
- C. Lock the inventory row before changing it
- D. Generate and review a migration