Refactoring for Testability: A Real World Example in Python/Django | Hacker News Reader