About the Author
Daniel and Audrey Roy Greenfeld are experienced software professionals and co-authors of a series of Python web development books. They have given keynote speeches at numerous academic and professional Python and Django conferences around the world. Hailing experience with NASA and MIT, they has authored various popular open-source utility libraries, which are in production use by thousands of organizations, including Fortune 500 companies.
To learn more about Daniel and Audrey:
– Main Website: roygreenfeld.com
– Facebook: facebook.com/twoscoopspress
– Twitter: twitter.com/twoscoopspress
Two Scoops of Django 1.11 Will Help You Build Django Projects. In this book we introduce you to the various tips, tricks, patterns, code snippets, and techniques that we’ve picked up over the years. We have put thousands of hours into the fourth edition of the book, writing and revising its material to include significant improvements and new material based on feedback from previous editions.Table of ContentsChapter 1: Coding StyleChapter 2: The Optimal Django Environment SetupChapter 3: How To Lay Out Django ProjectsChapter 4: Fundamentals of Django App DesignChapter 5: Settings and Requirements FilesChapter 6: Model Best PracticesChapter 7: Queries and the Database LayerChapter 8: Function- and Class-Based ViewsChapter 9: Best Practices for Function-Based ViewsChapter 10: Best Practices for Class-Based ViewsChapter 11: Form FundamentalsChapter 12: Common Patterns for FormsChapter 13: Templates: Best PracticesChapter 14: Template Tags and FiltersChapter 15: Django Templates and Jinja2Chapter 16: Building APIs with Django Rest FrameworkChapter 17: Consuming REST APIsChapter 18: Tradeoffs of Replacing Core ComponentsChapter 19: Working With the Django AdminChapter 20: Dealing with the User ModelChapter 21: Django’s Secret Sauce: Third-Party PackagesChapter 22: Testing Chapter of Doom!Chapter 23: Documentation: Be ObsessedChapter 24: Finding and Reducing BottlenecksChapter 25: Asynchronous Task QueuesChapter 26: Security Best PracticesChapter 27: Logging: Tips and ToolsChapter 28: Signals: Use Cases and Avoidance TechniquesChapter 29: What About Those Random Utilities?Chapter 30: Deployment: Platforms as a ServiceChapter 31: Deploying Django ProjectsChapter 29: Identical Environments: The Holy GrailChapter 32: Continuous IntegrationChapter 33: The Art of DebuggingChapter 34: Where and How to Ask Django QuestionsChapter 35: Closing ThoughtsAppendix A: Packages Mentioned In This BookAppendix B: TroubleshootingAppendix C: Additional ResourcesAppendix D: Internationalization and LocalizationAppendix E: Settings AlternativesAppendix F: Working with Python 2Appendix G: Channels and WebsocketsWhat People Say About Two Scoops of Django This is the swiss army knife for every Django developer. — Jannis Gebauer, djangopackages.org maintainer and pyup.io founder We buy this book for every new engineer on our team. It’s a must for Django development! — Jacinda Shelly, CTO of Doctor On Demand I wanted to write a book about best practices in Django, except Two Scoops is that book, no need to write another one. — Buddy Lindsey, Host of GoDjango Audrey’s illustrations reinforce Audrey and Daniel’s Django technical excellence. (Art + ice cream) * 2 tech experts = Two Scoops of Django. — Carol Willing, Project Jupyter Core Dev and Python Software Foundation director Simply the best book on Django. Whenever I am not sure if I am following the best practices, I look up the topic in this book. A must read. — Abu Ashraf Masnun, programmer