Two Scoops of Django: Best Practices For Django 1.8 is full of more material that will help you with your Django projects.
We’ll introduce you to various tips, tricks, patterns, code snippets, and techniques that we’ve picked up over the years.
We have put thousands of hours into the third edition of the book, writing and revising its material to include significant improvements and new material based on feedback from previous editions.
Table of Contents
- Chapter 1: Coding Style
- Chapter 2: The Optimal Django Environment Setup
- Chapter 3: How To Lay Out Django Projects
- Chapter 4: Fundamentals of Django App Design
- Chapter 5: Settings and Requirements Files
- Chapter 6: Model Best Practices
- Chapter 7: Queries and the Database Layer
- Chapter 8: Function- and Class-Based Views
- Chapter 9: Best Practices for Function-Based Views
- Chapter 10: Best Practices for Class-Based Views
- Chapter 11: Form Fundamentals
- Chapter 12: Common Patterns for Forms
- Chapter 13: Templates: Best Practices
- Chapter 14: Template Tags and Filters
- Chapter 15: Django Templates and Jinja2
- Chapter 16: Building REST APIs
- Chapter 17: Consuming REST APIs
- Chapter 18: Tradeoffs of Replacing Core Components
- Chapter 19: Working With the Django Admin
- Chapter 20: Dealing with the User Model
- Chapter 21: Django’s Secret Sauce: Third-Party Packages
- Chapter 22: Testing Chapter of Doom!
- Chapter 23: Documentation: Be Obsessed
- Chapter 24: Finding and Reducing Bottlenecks
- Chapter 25: Asynchronous Task Queues
- Chapter 26: Security Best Practices
- Chapter 27: Logging: Tips and Tools
- Chapter 28: Signals: Use Cases and Avoidance Techniques
- Chapter 29: What About Those Random Utilities?
- Chapter 30: Deployment: Platforms as a Service
- Chapter 31: Deploying Django Projects
- Chapter 29: Identical Environments: The Holy Grail
- Chapter 32: Continuous Integration
- Chapter 33: The Art of Debugging
- Chapter 34: Where and How to Ask Django Questions
- Chapter 35: Closing Thoughts
- Appendix A: Packages Mentioned In This Book
- Appendix B: Troubleshooting
- Appendix C: Additional Resources
- Appendix D: Internationalization and Localization
- Appendix E: Settings Alternatives
- Appendix F: Working with Python 3