Two Scoops Of Django 1.11: Best Practices For T... Apr 2026
: emphasizes "Fat Models" to keep business logic out of views and warns against using Meta.exclude in ModelForms.
Unlike standard "how-to" books that build a single project from scratch, Two Scoops focuses on . It uses a fictional ice cream company case study to provide practical examples for solving real-world development challenges. Key Best Practices Covered Two Scoops of Django 1.11: Best Practices for t...
: Strongly promotes Class-Based Views (CBVs) for cleaner, more reusable code, while still detailing when Function-Based Views (FBVs) are appropriate. : emphasizes "Fat Models" to keep business logic
: Advocates for a standardized project structure (often associated with the authors' cookiecutter-django tool) and splitting settings into multiple files (e.g., base, local, production). Key Best Practices Covered : Strongly promotes Class-Based
: Highlights critical security pointers and the importance of never storing secret information in public repositories.
: Includes the infamous "Testing Chapter of Doom," encouraging a culture of obsession with documentation and rigorous testing suites.
The full title of the book is , written by Daniel Roy Greenfeld and Audrey Roy Greenfeld . It is widely considered the "de facto" guide for intermediate to advanced developers who want to move beyond basic tutorials and adopt professional coding patterns. Core Philosophy