Instruction: Discuss how and when to use Django's transaction.atomic decorator to manage database transactions.
Context: The candidate needs to demonstrate understanding of transaction management in Django and how to use it to ensure data consistency and prevent data corruption.