The third edition, Two Scoops of Django: Best Practices For Django 1.8 is available as an ebook! Revised and expanded to over 500 pages, it's a whole new book full of new material. Please consider it before purchasing this edition!
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.
Table of Contents
- Chapter 1: Coding Conventions
- 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: Database/Model Best Practices
- Chapter 7: Function-and Class-Based Views
- Chapter 8: Best Practices for Function-Based Views
- Chapter 9: Best Practices for Class-Based Views
- Chapter 10: Common Patterns for Forms
- Chapter 11: More Things To Know About Forms
- Chapter 12: Templates: Best Practices
- Chapter 13: Template Tags and Filters
- Chapter 14: Building REST APIs
- Chapter 15: Consuming REST APIs in Templates
- Chapter 16: Tradeoffs of Replacing Core Components
- Chapter 17: Working With the Django Admin
- Chapter 18: Dealing with the User Model
- Chapter 19: Django's Secret Sauce: Third-Party Packages
- Chapter 20: Testing Chapter of Doom!
- Chapter 21: Documentation: Be Obsessed
- Chapter 22: Finding and Reducing Bottlenecks
- Chapter 23: Security Best Practices
- Chapter 24: Logging: Tips and Tools
- Chapter 25: Signals: Use Cases and Avoidance Techniques
- Chapter 26: What About Those Random Utilities?
- Chapter 27: Deployment: Platforms as a Service
- Chapter 28: Deploying Django Projects
- Chapter 29: Identical Environments: The Holy Grail
- Chapter 30: Continuous Integration
- Chapter 31: Where and How to Ask Django Questions
- Chapter 32: 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
What is everyone saying about Two Scoops of Django?
- I read the first edition cover to cover. The second one raises the bar again. It's pedagogical, entertaining, and thoughtful. -- Aymeric Augustin, Django core developer.
- It's basically a 446 page checklist to getting your Django code right ~ Kevin A Stone, author of the Django Rest Framework and Angular Tutorial
- Whether you're a Django beginner or a seasoned veteran, I recommend you get this book, and read it cover to cover, and keep it near you for easy reference. --Ken Cochrane, Django developer since 2008
- A single read-through of Two Scoops of Django gave me so many lightbulbs and tips; I had to go back for a second helping. -- Lynn Root, Spotify engineer, PSF Director, and PyLadies ambassador.
- Make sure you have your favorite project next to you while reading. You'll be doing some rewriting. -- Bryan Veloso, GitHubber, PyCon PH Keynote Speaker
- You know those lessons you learn when projects blow up in your face? This book contains several projects worth of such lessons. -- Lennart Regebro, author of "Porting to Python 3"
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.