Programming Books C Java PHP Python Learn more Browse Programming Books
Buy New
$36.87
Qty:1
  • List Price: $44.95
  • Save: $8.08 (18%)
In Stock.
Ships from and sold by Amazon.com.
Gift-wrap available.
Add to Cart
Trade in your item
Get a $11.97
Gift Card.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Two Scoops of Django: Best Practices For Django 1.6 Paperback – February 1, 2014


Amazon Price New from Used from
Paperback
"Please retry"
$36.87
$36.87 $29.99


Frequently Bought Together

Two Scoops of Django: Best Practices For Django 1.6 + Learning Python, 5th Edition + Python Cookbook
Price for all three: $111.91

Some of these items ship sooner than the others.

Buy the selected items together

NO_CONTENT_IN_FEATURE

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 446 pages
  • Publisher: Two Scoops Press; 2 edition (February 1, 2014)
  • Language: English
  • ISBN-10: 098146730X
  • ISBN-13: 978-0981467306
  • Product Dimensions: 9.2 x 7.5 x 1.2 inches
  • Shipping Weight: 2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (36 customer reviews)
  • Amazon Best Sellers Rank: #20,316 in Books (See Top 100 in Books)

Editorial Reviews

About the Author

Daniel Greenfeld and Audrey Roy are best known for their open-source community leadership work on the following projects:

  • DjangoPackages.com and the OpenComparison framework, running the largest sprint at PyCon 2011.
  • 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.
  • 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, and PyCon New Zealand.


More About the Author

Daniel Greenfeld is a software engineer living in the Inland Empire in California. He loves to code, hang out with his wife, and play at Capoeira. He is a total space and NASA Geek.

Customer Reviews

4.7 out of 5 stars
5 star
28
4 star
6
3 star
1
2 star
0
1 star
1
See all 36 customer reviews
Love to read it at leisure and I've already learned lots of useful things about Django from this book.
Andrey
Recognizing that there can be more than one practical approach on certain topics, they do a great job of alternative tools and approaches when a topic merits.
Amazon Customer
I trudged through a Django 1.0 tutorial book in Django 1.4 as a newbie web developer, and a best practices tutorial book in Django 1.6 would be great!
Tessera

Most Helpful Customer Reviews

14 of 14 people found the following review helpful By Tessera on February 9, 2014
Format: Paperback Verified Purchase
In short, if you are an experienced Django developer, just go ahead and buy a copy of this book.

Most importantly, this book is not a starter guide to Django and it is not a tutorial. You will need a fair bit of familiarity with Django, Python, Database design, and Object-oriented programming before you will need this book.

There are honestly not a lot of starter books for Django, so your best bet is to probably do the official tutorial from djangoproject.org and build from there. I am about two years into using Django and there are topics in this book that I have not used yet, but it is good to at least familiarize with them.

This book is about 50% longer than the Django 1.5 version, so there is some recycled information, but a lot of new stuff as well. It is a great reference book if you're wanting to do something like a security checklist for your project.

Also, both the 1.5 and 1.6 books promote the use of Class-Based Views. Inheritance and Mixins with Class-Based Views help focus your design in a very re-useable fashion. I have not found these promoted in any of the other Django guides I have, and there is a minority that doesn't like Class-Based-Views. I, personally, have found them useful.

As a web developer, I have read books across a few different languages, but for a high-level book, Two Scoops of Django (for 1.6) is one of the most approachable. The authors have done a great job of adding enough code examples, explanations and even external web links to keep you well informed on the happenings of Django 1.6. Tips on how you should be coding (development environments, production, version control, etc) are also universal to any language.

Also, as a postscript to the authors, the Django community needs a tutorial book as well by both of you! I trudged through a Django 1.0 tutorial book in Django 1.4 as a newbie web developer, and a best practices tutorial book in Django 1.6 would be great!
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
6 of 6 people found the following review helpful By Hraban on March 9, 2014
Format: Paperback Verified Purchase
They could have used some pages less, e.g. the icream theme is not soo funny that it makes sense to waste pages for bad illustrations.
But otherwise it’s a great collection of useful hints and howtos to make our code and setup better.
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 4 people found the following review helpful By Andrew Farley on February 11, 2014
Format: Paperback Verified Purchase
I wish you offered the .pdf but I just ordered the paperback. I read the first Two-Scoops for Django 1.5 and regularly use @pydanny and @audreyr's open source Django work (cookiecutter-django and django-crispy-forms mostly). Everything published (textbook or code) by these two is priceless to any Django developer IMHO.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By Kenneth on March 5, 2014
Format: Paperback
[Full disclosure, I was a technical editor on the first version of this book]

I've been writing code with Python and Django for over 5 years now. I would have done anything to have a resource as concise and correct as this one back then (we were lucky to even *have* a blog post! Kids these days!). Even with all of these years of experience, and producing my own video series for teaching Django, I still see things in this book that I want to try on projects of my own, I find new approaches to my old habits, and I find confirmation that I've made good decisions.

As a corporate trainer in both Python and Django, this is a book I will carry from class-to-class and recommend to students repeatedly.

The Django community is very lucky to have this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By Amazon Customer on February 17, 2014
Format: Paperback
Updated and substantially expanded, I am finding "Two Scoops of Django: Best Practices For Django 1.6" far exceeds my expectations. I liked the prior version and found it very useful. The version for Django 1.6 delivers even more best practices and Django goodness.

Written by two experienced developers, the book presents each major topic in a concise, user friendly way. The authors pull on their experience to highlight approaches, tools, and tips that will save a developer valuable time while increasing code quality. Recognizing that there can be more than one practical approach on certain topics, they do a great job of alternative tools and approaches when a topic merits. When presenting alternatives, they point out the pros and cons as well as offer guidance on when to choose a particular approach.

New developers: this is a great book to reach for after completing the official Django tutorial. Experienced developers: the update gives an excellent reference of current best practices, reminders, and tips in a clear, friendly way.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By Kevin Stone on February 14, 2014
Format: Paperback
Two Scoops has established itself again as the standard guide for professional Django software development. It comprehensively covers the best practices across the entire framework and frequent stumbling blocks for more novice developers. Having said that, this book isn't designed to introduce a layperson to Django nor is it a comprehensive reference of the various components and architecture of the Django web framework. If you're looking to improve the quality of your django code, you'll need this book. If you're already an seasoned developer, this is a great refresher that will inspire you to cleanup and improve your projects.

It's well written in a whimsical tone that's very approachable and fun to read compared to most technical references. The book features ice cream themed references and examples to help demonstrate the practices. It reads very quickly, not dragging on any subject for more than a few pages. There's plenty of links to background or detail for those motivated to dive deeper. For a book focused on best practices, it goes to great lengths to provide perspective on the recommendations, offering alternatives and citing key contributors for justifications. Use these recommendations as a starting point for teams to define standards and practices while allowing some leeway to customize or tailor to specific preferences.

The 1.6 addition extends its scope with greater coverage on issues facing most developers including security, deployment, continuous integration, ReST APIs and frontend/javascript integration. All issues facing almost any modern web application development and almost never covered in any introduction to the framework. In summary, if it matters to a modern Python/Django developer, it's likely covered in this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Customer Images

Most Recent Customer Reviews


What Other Items Do Customers Buy After Viewing This Item?