Two Scoops Press, 2014. — 446 p. — ISBN: 098146730X, 9780981467306
Two Scoops of Django: Best Practices For Django 1.6 is chock-full of even 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 second edition of the book, writing and revising its material to include over 130 new pages of concise, example-packed text containing 5 new chapters and 3 new appendices.
Coding Conventions
The Optimal Django Environment Setup
How To Lay Out Django Projects
Fundamentals of Django App Design
Settings and Requirements Files
Database/Model Best Practices
Function-and Class-Based Views
Best Practices for Function-Based Views
Best Practices for Class-Based Views
Common Patterns for Forms
More Things To Know About Forms
Templates: Best Practices
Template Tags and Filters
Building REST APIs
Consuming REST APIs in Templates
Tradeoffs of Replacing Core Components
Working With the Django Admin
Dealing with the User Model
Django's Secret Sauce: Third-Party Packages
Testing Chapter of Doom!
Documentation: Be Obsessed
Finding and Reducing Bottlenecks
Security Best Practices
Logging: Tips and Tools
Signals: Use Cases and Avoidance Techniques
What About Those Random Utilities?
Deployment: Platforms as a Service
Deploying Django Projects
Identical Environments: The Holy Grail
Continuous Integration
Where and How to Ask Django Questions
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