Two Scoops of Django: Best Practices for Django 1.8, 3rd Edition Front Cover

Two Scoops of Django: Best Practices for Django 1.8, 3rd Edition

  • Length: 532 pages
  • Edition: 3
  • Publisher:
  • Publication Date: 2015-05-15
  • ISBN-10: 0981467342
  • ISBN-13: 9780981467344
  • Sales Rank: #736173 (See Top 100 Books)
Description

Two Scoops of Django: Best Practices For Django 1.8 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 third edition of the book, writing and revising its material to include significant improvements and new material based on feedback from previous editions.

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.
  • 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”
  • This book should prove to be an amazing resource for any new-to-Django developer that picks it up. — Kenneth Love, Creator of “Getting Started with Django”
  • This is the book I wished had existed and I could have read when I started learning Django. — Barry Morrison, Linux systems engineer and Django developer

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 Stinks and Is a Waste of Money!
Chapter 23 Documentation: Be Obsessed
Chapter 24 Finding and Reducing Bottlenecks
Chapter 25 Asynchronous Task Queues
Chapter 26 Security Best Practices
Chapter 27 Logging: What’s It For, Anyway?
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 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 Installation
Appendix C: Additional Resources
Appendix D: Internationalization and Localization
Appendix E: Settings Alternatives
Appendix F: Working with Python 3
Appendix G: Security Settings Reference

To access the link, solve the captcha.