Two Scoops of Django covers common best practices, including the following:
Tips, tricks, and tools for quickly setting up your Django project in the most optimal way.
We were part of the massive rewrite of Django's official class-based view documentation. In the book we cover the gray area where the docs end and specific use cases begin.
Django has a good security record. Help keep it that way by learning how to lock down and secure your projects. Everything in this chapter is approved by third-party security experts.
Is your project running slow? We cover how to determine where bottlenecks exist and how to fix them. Learn how to run slow processes behind asynchronous task queues.
Daniel loves Django forms, and has written numerous articles and presentations on them. Gain a deeper understanding of forms through his detailed examples.
Manage your settings/dependencies for different environments such that 100% of settings and 0% of secret keys are in version control.
We provide everything you need to know about concrete, abstract, and proxy models.
Stabilize your data with transactions, then read it with advanced query tools.
This book is loaded with code examples. We've gone the extra mile to put together great examples for you, and you can access them online.
Here is the table of contents from Two Scoops of Django: Best Practices for Django 1.8.
After seeing other fellow developers struggle to get past the same sorts of basic hurdles in Django we had to overcome, we realized that much of the Django knowledge that we take for granted is not written down with examples anywhere.
We decided to take everything we know and write it down. Along the way, we learned even more from others and wrote those things down as well.