ŷ

Jump to ratings and reviews
Rate this book

Two Scoops of Django

Two Scoops of Django: Best Practices for Django 1.5

Rate this book
We'll introduce you to various tips, tricks, patterns, code snippets, and techniques that we've picked up over the years.

This book is great for:

Beginners who have just finished the Django tutorial.

Developers with intermediate knowledge of Django who want to improve their Django projects.

277 pages, ebook

First published January 1, 2013

22 people are currently reading
155 people want to read

About the author

Daniel Roy Greenfeld

17books62followers
Over the course of his life, Daniel has:

* Studied history
* Learned how to fight with swords
* Ridden horses
* Cycled thousands of miles
* Performed cartwheels in capoeira circles on multiple continents
* Worked as an engineer at NASA
* Married a woman he dreamed about before he ever met her

He believes this combination of skills and experiences makes him the ideal fantasy and tech author.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
111 (42%)
4 stars
100 (38%)
3 stars
44 (16%)
2 stars
5 (1%)
1 star
0 (0%)
Displaying 1 - 29 of 29 reviews
Profile Image for Igor.
10 reviews3 followers
February 16, 2013
I am honestly torn about this book. I want to give it a good review, because I learned a few useful things from it and because of that the book proved to be a good investment. I am certainly a better Django developer having read it. But at the same time it contains chapters like the one about logging, which can be summed up as saying "Hey, logging is good. You should log more. Go, read the official Django docs if you want to know how." Not very helpful. Fortunately other parts of the book are a little more eloquent, but I still couldn't shake the feeling that it was all written during a few coffee breaks.

Maybe I am too harsh. As I noted, I was able to learn from it and what I did learn is useful in my day to day work and for that alone I am glad I did decide to make the purchase. On the other hand this book has plenty of untapped potential that could turn it into THE book on Django best practices should the authors decide not to just skim the surface.
Profile Image for Valdir Stumm Junior.
7 reviews3 followers
June 27, 2013
IMHO, "Two Scoops of Django" is the best piece of Django documentation out there. It covers lots of things that are not covered by the existing documentation. Both the authors are very experienced Python/Django developers and they give tons of precious tips. I think this is the perfect book for everyone who knows the basics of Django and want to know how to use it more effectively. I've learned a lot from it and I'm already applying many tips to my projects.

Thanks and congratulations to the authors of this awesome book!
Profile Image for Dr. Kat.
57 reviews7 followers
Read
August 30, 2013
Great book for developing sites with Django. It goes beyond the default django tutorial and offers some examples on how to do things (i.e. defining custom model forms) with best practices.
Profile Image for Chris Karr.
48 reviews1 follower
January 23, 2013
Over the past four years, I've worked with Django in a variety of contexts, from consulting to startups to research. It's my web framework of choice and I felt pretty effective & competent using it.

The highest praise that I can offer this book is that it made me feel like a complete amateur. Greenfield and Roy put together a concise and actionable collection of tips and tricks to help us all become better Djangonauts. The writing was clear and straightforward, with plenty of excellent code examples.

Some books entertain, others inform. This one will be one that makes me a much more effective developer and for that, I thank the authors.

(Now it's time to start refactoring some projects...)
Profile Image for Serdar.
38 reviews35 followers
July 26, 2014
A brief book explaining various stuff on Django. IMHO, the book should be read directly after one learns "What is what?" in Djanga: --> finishing the Django tutorial, doing a sample app that consists of various models, views, templates, forms, using signals, implementing logging etc. etc. After that, one can be enlightened as there are various nicer ways of doing this and that.

For me, most of the stuff I read in the book has been the practices that I apply in my professional life, so It has been some kind of approval from Django professionals. And It has contributed me much in some corner-case examples.

Btw, This is the first book I've read in my Kindle Paperwhite 2, so its place is somewhere special for me (=
Profile Image for Sarah Kelley.
4 reviews4 followers
October 4, 2013
Well written book but perhaps best for intermediate Djangonauts. To the authors' credit they do mention their intended audience at the beginning.

As a beginner good deal of this was above my head and many basic concepts are not explained. It did give me a detailed but fuzzy introduction to Django development. I'd give them five stars if they created simple intro to Django section as this information is desperately needed because the Django tutorial also doesn't do the best job at this.

Ultimately, this book does what it says it will, it is well organized and I have a feeling I'll be referring to this book often in the future.
Profile Image for Kracekumar.
41 reviews32 followers
Read
February 9, 2014
If you are using Django in production this is must read book.

Q: I am using django since 0.8 do I need this book ?

A: Yes, consider the book as starting point to validate your assumption.

Q: I just started using django, should I read this ?

A: Yes. I started to use django in production last month. Sometimes I felt I should finish this book before pushing any code further. For every two or three chapters I can clearly find mistakes and fix it.

More:
Profile Image for Lean.
44 reviews10 followers
April 25, 2013
This is not a book for those that have just finished the Django tutorial. Doubtless beginners will get something from this book, but the most benefit will be for those who are earnestly writing Django code and is probably best for those that have been doing so for months if not years. (Pet peeve: should really be called 'good practices' and not 'best practices':-P)
So, from the feel of the content it should get 4 stars, as I am not yet in a position to adequately judge it, it gets 3 stars.
Profile Image for Matthew.
35 reviews3 followers
May 2, 2014
It falls away from Django specific stuff at the end, but the first 1/3 of the book is simply invaluable. Many of the things this book drives home for the last half of the book are probably (or I could be wrong) common knowledge for anyone senior enough to understand the first half of the book, but you can't go wrong with picking this book up and reading it if you're working in the field.

Looking forward to the second edition for 1.6.
Profile Image for Tom.
20 reviews
April 27, 2014
Can't say I've finish reading this book. It more like a reference you open anytime you need for some extra help on each topic, with emphasis on best practices.
Be aware that this book is not for beginners! But if you want to progress with python + django you're going to appreciate the suggestions found there.
227 reviews27 followers
June 14, 2015
Useful book especially for beginners but I would love to read more about slightly more advanced concepts such as where to place your business logic, working with mangers, etc.

It's also written for 1.6 and with 1.8 bringing some huge changes this book will become less relevant.

4 stars if you're just starting out with Django, it's a good book to read just after the Polls tutorial!
Profile Image for Manu.
20 reviews1 follower
March 12, 2013
Highly useful for those with beginner/intermediate level knowledge in Django. Many useful best practices that I wouldn't have come across in forums or tutorials. Many of these tips may be available as learning during opensource development but that's to be earned the hard way.
Profile Image for Nikita.
175 reviews1 follower
April 1, 2013
A lot of useful tricks and best practices discussed. Easy language, lots of examples. A little hard to get your head around some of the things if you haven`t had many years of development experience with Django.
27 reviews
May 22, 2013
Vraiment un bon livre sur Django avec de bons conseils tout autant pour les débutants que des développeurs confirmés.
Je trouve magnifique l'exemple d'application du livre car pour une fois c'est drôle et sympathique, donc les exemples et conseils ont plus de chance d'être retenus.
Profile Image for Jeremy Keeshin.
57 reviews9 followers
July 9, 2013
I read this book on a flight back to chicago. It is about django best practices and is very easy to read, and the authors are pretty convincing. There are a few times where I felt the examples were too simple to really be applicable, but overall I felt like I learned a lot from the book.
3 reviews1 follower
April 23, 2015
Way too good.

This explains for a novice or an experienced programmer, how to develop better and cleaner in Django.
Some good practices are explained also, and a few extensions that makes your life in Django easier.

I'm an experienced Django developer and liked a lot this book!!
Profile Image for Tadas Talaikis.
Author7 books78 followers
September 25, 2016
I'm back to Django. After this week trying various Python frameworks to create one project I found that Django framework probably is best for its big community (though a lot of things outdated already - Django 1.5 used in the book). Book has many very useful tips.
15 reviews
March 10, 2013
Technical, series of tips on writing django websites. Not useful as a starting place, but great as an intermediate book to get better.
157 reviews6 followers
November 19, 2013
Lots of good information, but more basic than I expected. Still, a good overview of "best practices".
Profile Image for Kyrylo.
6 reviews
January 8, 2014
Great book for every Django-developers. Bad and Good examples made this book especially cool. I read this book from time to time, and every time I find something new for yourself
Profile Image for Jelena K.
13 reviews
October 6, 2014
This book is great to read if you had touched Django Framework at list for six months. There is a lot of good tips, best practices, suggestions. Best Django book at this moment.
2 reviews2 followers
June 4, 2014
One of the best IT books I've read in a long time: concise, funny and with a clear vision on how to apply the content. Not too many errors in the examples ;-)
Displaying 1 - 29 of 29 reviews

Can't find what you're looking for?

Get help and learn more about the design.