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 2018 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.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
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.
The authors know Django really well and explain concepts in a clear and concise fashion. Both authors being ice-cream lovers decided to do illustrations in terms of ice cream analogies... it sounds crazy for a programming book, but it actually worked pretty well. Additionally, the writing style was lighthearted which prevents the book from being too dry.
As for technical details the book is really solid. The beginning chapters are on proper Django setup and topics such as when to use Class Based Views or Function Based Views. I liked the authors state their own opinion and also present opposing views from other Django contributors. Later chapters cover things like deployment, security, and continuous integration.
I also learned quite a lot about other technologies in the book which they mention. For example, in the deployment chapters they present the trade-offs of Docker, SaltStack, Ansible, Puppet, and Chef. These high level comparisons gave me a better picture of how a real world Django project works.
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!
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