or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a £6.04 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Two Scoops of Django: Best Practices For Django 1.6 [Paperback]

Daniel Greenfeld , Audrey Roy
4.8 out of 5 stars  See all reviews (12 customer reviews)
RRP: £27.95
Price: £23.23 & FREE Delivery in the UK. Details
You Save: £4.72 (17%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 24 Oct.? Choose Express delivery at checkout. Details
Trade In this Item for up to £6.04
Trade in Two Scoops of Django: Best Practices For Django 1.6 for an Amazon Gift Card of up to £6.04, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

1 Feb 2014

Two Scoops of Django: Best Practices For Django 1.6 is chock-full of even more material that will help you with your Django projects.

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

We have put thousands of hours into the second edition of the book, writing and revising its material to include over 130 new pages of concise, example-packed text containing 5 new chapters and 3 new appendices.

Table of Contents

  • Chapter 1: Coding Conventions
  • Chapter 2: The Optimal Django Environment Setup
  • Chapter 3: How To Lay Out Django Projects
  • Chapter 4: Fundamentals of Django App Design
  • Chapter 5: Settings and Requirements Files
  • Chapter 6: Database/Model Best Practices
  • Chapter 7: Function-and Class-Based Views
  • Chapter 8: Best Practices for Function-Based Views
  • Chapter 9: Best Practices for Class-Based Views
  • Chapter 10: Common Patterns for Forms
  • Chapter 11: More Things To Know About Forms
  • Chapter 12: Templates: Best Practices
  • Chapter 13: Template Tags and Filters
  • Chapter 14: Building REST APIs
  • Chapter 15: Consuming REST APIs in Templates
  • Chapter 16: Tradeoffs of Replacing Core Components
  • Chapter 17: Working With the Django Admin
  • Chapter 18: Dealing with the User Model
  • Chapter 19: Django's Secret Sauce: Third-Party Packages
  • Chapter 20: Testing Chapter of Doom!
  • Chapter 21: Documentation: Be Obsessed
  • Chapter 22: Finding and Reducing Bottlenecks
  • Chapter 23: Security Best Practices
  • Chapter 24: Logging: Tips and Tools
  • Chapter 25: Signals: Use Cases and Avoidance Techniques
  • Chapter 26: What About Those Random Utilities?
  • Chapter 27: Deployment: Platforms as a Service
  • Chapter 28: Deploying Django Projects
  • Chapter 29: Identical Environments: The Holy Grail
  • Chapter 30: Continuous Integration
  • Chapter 31: Where and How to Ask Django Questions
  • Chapter 32: Closing Thoughts
  • Appendix A: Packages Mentioned In This Book
  • Appendix B: Troubleshooting
  • Appendix C: Additional Resources
  • Appendix D: Internationalization and Localization
  • Appendix E: Settings Alternatives
  • Appendix F: Working with Python 3

What is everyone saying about Two Scoops of Django?

  • I read the first edition cover to cover. The second one raises the bar again. It's pedagogical, entertaining, and thoughtful. -- Aymeric Augustin, Django core developer.
  • It's basically a 446 page checklist to getting your Django code right ~ Kevin A Stone, author of the Django Rest Framework and Angular Tutorial
  • Whether you're a Django beginner or a seasoned veteran, I recommend you get this book, and read it cover to cover, and keep it near you for easy reference. --Ken Cochrane, Django developer since 2008
  • A single read-through of Two Scoops of Django gave me so many lightbulbs and tips; I had to go back for a second helping. -- Lynn Root, Spotify engineer, PSF Director, and PyLadies ambassador.
  • Make sure you have your favorite project next to you while reading. You'll be doing some rewriting. -- Bryan Veloso, GitHubber, PyCon PH Keynote Speaker
  • You know those lessons you learn when projects blow up in your face? This book contains several projects worth of such lessons. -- Lennart Regebro, author of "Porting to Python 3"
  • This book should prove to be an amazing resource for any new-to-Django developer that picks it up. -- Kenneth Love, Creator of "Getting Started with Django"
  • This is the book I wished had existed and I could have read when I started learning Django. -- Barry Morrison, Linux systems engineer and Django developer

Special Offers and Product Promotions

  • Between 20-26 October 2014, spend £10 in a single order on item(s) dispatched from and sold by Amazon.co.uk and receive a £2 promotional code to spend in the Amazon Appstore. Here's how (terms and conditions apply)

Frequently Bought Together

Two Scoops of Django: Best Practices For Django 1.6 + Test-Driven Development with Python + Pro Django (Expert's Voice in Web Development)
Price For All Three: £71.99

Buy the selected items together


Product details

  • Paperback: 446 pages
  • Publisher: Two Scoops Press; 2 edition (1 Feb 2014)
  • Language: English
  • ISBN-10: 098146730X
  • ISBN-13: 978-0981467306
  • Product Dimensions: 23.5 x 19 x 2.3 cm
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Bestsellers Rank: 13,498 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

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.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

3 star
0
2 star
0
1 star
0
4.8 out of 5 stars
4.8 out of 5 stars
Most Helpful Customer Reviews
4 of 4 people found the following review helpful
5.0 out of 5 stars A godsend, must read. 8 Feb 2014
Format:Paperback|Verified Purchase
I originally purchased 1.5 and have been anxiously awaiting this revision. Lots new content updated and worth the repurchased for sure. Although opinionated this book does not push you into single way of thinking, instead it helps you explore the pros and cons and introduces new concepts I personally ‘should’ but didn't know about.

As a self taught developer I don’t have the experience of other developers to draw off, this book is a godsend.

It’s not a beginner ‘how to’ book, if you want to learn Django make this the second book you read.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
Format:Paperback|Verified Purchase
Every Django developer out there should have this book. The writing is of a quality that is rarely found in technical books. At the same time, it gives very actionable advice, teaches you new ways of thinking in some areas, and is still light and occasionally humorous to read. Even though I had thoroughly read the 1.5 version and have years of experience with Django development, I learned something new in my first ten minutes of reading.

The content is incredibly thorough and extensive, but also still very accessible. Many documented practices are fairly independent of each other, so even if you decide to diverge from the authors' opinions in some area, that doesn't reduce the value of the rest of the book. However, you'll find that a rare issue, because the practices from this book are clearly motivated.

I wish every technical book was written like this.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars The definitive Django developer companion 15 Feb 2014
By Paul
Format:Paperback|Verified Purchase
With nearly every web framework available: the tutorial available leaves you wanting more, or throws you out into the world to figure things out for yourself. Even for an experienced engineer or web developer it can be daunting trying to discover the best practices and little tricks.

Two Scoops of Django solves this problem for the Django web framework: from recommended project layouts right up to advice on publishing your own Django packages, 2scoops is a perfect companion for any Django developer, beginner or expert.

I'm certain plenty of web frameworks are envious that the Django community has Danny and Audrey, the authors, who have dedicated their time giving the community something that is desperately needed.

For anyone who has just finished the tutorial, to the expert asking "Is this really the best way to do this in Django?" this book is perfect.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Years of experience distilled into a book. 13 Feb 2014
Format:Paperback
This book is a must have for every Django developer. The two authors have years of advanced Django experience, and they have distilled all the mistakes you do into a book.

Although it is aimed at those with Django experience, it's also invaluable for somebody starting to develop Django, as it will prevent you from making loads of mistakes. It's written in a clear pedagogical way, and having this book will effectively add a year or two of Django experience to your knowledge.

If you develop Django, you *have* to have this book.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Django masterclass 11 April 2014
Format:Paperback|Verified Purchase
This book differs from other django books. It is not a reference manual, or a getting-started, or a cook-book. It assumes the reader has experience with django and then provides opinion and discussion on best practices on the full range of topics that arise when one is developing django projects.
The opinions expressed are wise and authoritative and confident but never dogmatic or condescending. The advice is the product of years of experience on the part of the authors and their colleagues and friends in the django community. That's why I see this book as being like a masterclass: It is for advanced students to glean the wisdom of the masters.
One of the many things I loved about this book was that it seems that it was put together with patience and thought. It is the opposite of the many "rush to market" books that are thin and shallow in their content and are little more than hastily put together bundles of otherwise publicly available information on the internet.
I highly recommend this for anyone seriously involved in the development of django based projects. However, I would also recommend it for beginners, when accompanied by another more introductory text. Even beginners will quickly encounter the topics and issues that are discussed in depth here, and it is good to have the wisdom of the sages at hand from the beginning.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Opinionated expert guidance 20 Feb 2014
By T
Format:Paperback|Verified Purchase
This is what all software library/language books should be like. Not a dry reference book, instead this is a combination of high-level development advice and low-level gotchas you'll only hear from people who've spent years with Django.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback