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
Frequently bought together
Customers who bought this item also bought
Customers who viewed this item also viewed
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.
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.
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.
This book is not a tutorial. It is a reference or more accurately I guide/hand book. It will not waste time trying to teach you Django.. it expects you to be able to do that on your own. It instead focuses on taking you beyond the "I got hello world to work and I followed a tutorial to build a todo list app".
I find one of the hardest part of learning a new technology is not the language itself, or sometimes even the framework. After all you can always just read the docs/stack overflow as you need to. The hardest part is usually understanding the ecosystem of tools, practices and paradigms. This book deals with that part. What's more is that the information in the book is very clear and easy to read.
If you are already familiar with web development and python get this book.
Definitely a must have if you plan to put Django on your resume.
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