How to simulate a broken database connection for testing in Django

How to simulate a broken database connection for testing in Django

Articles
An overview of the challenges and three different solutions.