Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Two Scoops of Django: Best Practices for Django 1.8 Paperback – May 15, 2015
See the Best Books of 2017 So Far
Looking for something great to read? Browse our editors' picks for the best books of the year so far in fiction, nonfiction, mysteries, children's books, and much more.
Frequently bought together
Customers who bought this item also bought
About the Author
Daniel and Audrey Roy Greenfeld are best known for their open-source community leadership work on the following projects:
- DjangoPackages.com, the Django package index and comparison site.
- Cookiecutter, a Python package for generating projects from project templates.
- Cookiecutter-PyPackage, a project template for creating advanced python projects.
- Cookiecutter-Django, a project template for creating advanced Django projects.
- PyLadies, a women's outreach/mentorship group. Nurturing the group was basically a 2nd fulltime job for them in 2011, and they continue to run monthly Inland Empire PyLadies events.
- Barcamp Django SF, the first Django unconference.
- The first ever PyCon Philippines, a 300-person conference about the Python programming language held in the Philippines.
- The LA Open Source Hackathon event series, which brings together open-source developers from different programming backgrounds.
They do Python and Django development and run a small Python/Django consulting shop called Cartwheel Web. They've spoken at dozens of conferences and have given keynote speeches at DjangoCon Europe, EuroPython, PyCon Poland, PyCon Philippines, PyCon Australia, PyCon New Zealand, Python Brasil, and PyCon Argentina.
Browse award-winning titles. See more
If you are a seller for this product, would you like to suggest updates through seller support?
Top customer reviews
Here is a concrete example of what I am talking about. In a total of 7 pages, chapter two covers: SQL database options, pip, virtualenv, vagrant / VM, and version control options. I have made passing use of all of these, but found myself none the wiser after reading the chapter. If you are looking to _learn_ about these kind of things, rather than simply being introduced to the authors' well-informed preferences, this is not the book for you.
I read up to chapter 7 before throwing in the towel. My general opinion is that you have to already know quite a lot about what the authors are talking about before you will get much out of what they say.
Two other shortcomings (but not deal breakers) are (a) the book has so many links to other material that reading it as a hard-copy is a real drag -- it would be much better as an online resource with hyperlinks; and (b) the figures are sometimes cute but rarely helpful or insightful or useful.
That said, the book is well written, the authors certainly know a lot, and it seems like it would be a good reference for an experienced web programmer looking to improve their Django game.
For those curious, a very similar book is available titled "Django Design Patterns and Best Practices" published by Packt Publishing. If you prefer text more devoted to framework design choices - or if you're just not a fan of ice cream analogies - Django Design Patterns and Best Practices is also an excellent resource. Otherwise, this edition of Two Scoops of Django is highly comprehensive. In many cases, the Greenfeld's will first display "bad" code and then explain, with "good" code, the reasons for the corrections. Each chapter stands on its own, and is not meant to be a tutorial for Django. If anything, consider this "Effective Django". I highly recommend this book for intermediate Django developers!
It should be noted that this is not a one-stop-shop overview of Django; you won't go from zero to hero with this book alone. This book is focused on best practices (like it says on the cover), so if you're new to Django or Python you'll need some other sources to get you up-to-speed. I've been coding Python for years, so I found the offical documentation sufficient to get me started.
The advice in this book saved me a lot of headaches and got me pointed in the right direction. If you plan on using Django professionally, I'd say this book is a must-read.
The book is very well organized, following a very clear pattern for presenting concepts. I've only scratched the surface so far, but as I've read and browsed through it I find myself muttering "Wait - what? You can do that?" It is what it says - a best practices guide. But for me it's much more. I've gained insights into areas that I did not already know of and approaches to solving problems (like creating packages - cookie cutters?) that I'd not stumbled upon as yet.
I'd highly recommend it especially for new acolytes to the Django way of life to start on the right path; yet even after spending the past two years in Django I find it illuminating. From following the authors on Twitter to this book I've learned much.
Most recent customer reviews
You can use the boiler-plate created by cookie-cutter
Moreover, the book so attractive I'm just going to leave it on my dresser and admire it...Read more