Two Scoops of Django: Best Practices for Django 1.8
Language: English
Published by Two Scoops Press, 2015
- Softcover
- Used

Seller: World of Books Inc, Montgomery, IL, U.S.A.World of Books Inc
AbeBooks seller since March 23, 2026
Condition: Used - Good
£ 6.08
Quantity: 1 available
Add to basketSeller Inventory # CIN0981467342G
- Title
- Two Scoops of Django: Best Practices for Django 1.8
- Author
- Daniel Roy Greenfeld
- Publisher
- Two Scoops Press
- Publication year
- 2015
- Condition
- Good
- Binding
- Paperback
- Language
- English
- ISBN 10
- 0981467342
- ISBN 13
- 9780981467344
- Edition
- 3rd Edition
Two Scoops of Django 1.11 Now Available!
Search for Two Scoops of Django 1.11 to find and purchase the latest edition.Two Scoops of Django: Best Practices For Django 1.8 is full of 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 third edition of the book, writing and revising its material to include significant improvements and new material based on feedback from previous editions.
Table of Contents
- Chapter 1: Coding Style
- 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: Model Best Practices
- Chapter 7: Queries and the Database Layer
- Chapter 8: Function- and Class-Based Views
- Chapter 9: Best Practices for Function-Based Views
- Chapter 10: Best Practices for Class-Based Views
- Chapter 11: Form Fundamentals
- Chapter 12: Common Patterns for Forms
- Chapter 13: Templates: Best Practices
- Chapter 14: Template Tags and Filters
- Chapter 15: Django Templates and Jinja2
- Chapter 16: Building REST APIs
- Chapter 17: Consuming REST APIs
- Chapter 18: Tradeoffs of Replacing Core Components
- Chapter 19: Working With the Django Admin
- Chapter 20: Dealing with the User Model
- Chapter 21: Django's Secret Sauce: Third-Party Packages
- Chapter 22: Testing Chapter of Doom!
- Chapter 23: Documentation: Be Obsessed
- Chapter 24: Finding and Reducing Bottlenecks
- Chapter 25: Asynchronous Task Queues
- Chapter 26: Security Best Practices
- Chapter 27: Logging: Tips and Tools
- Chapter 28: Signals: Use Cases and Avoidance Techniques
- Chapter 29: What About Those Random Utilities?
- Chapter 30: Deployment: Platforms as a Service
- Chapter 31: Deploying Django Projects
- Chapter 29: Identical Environments: The Holy Grail
- Chapter 32: Continuous Integration
- Chapter 33: The Art of Debugging
- Chapter 34: Where and How to Ask Django Questions
- Chapter 35: 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.
- 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 is the book I wished had existed and I could have read when I started to really build Django projects. -- Barry Morrison, Linux systems engineer and Django developer
"Synopsis" may belong to another edition of this title.
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.
"About the title" may belong to another edition of this title.
World of Books Inc
Montgomery, IL, U.S.A.
AbeBooks seller since March 23, 2026
Shipping rates within U.S.A.
| Item | 4 to 12 business days | 3 to 6 business days |
|---|---|---|
| First item | £ 0.00 | £ 8.09 |
Payment methods
Store description
Specialty
Second Hand - All GenreSeller's business information
SBYB, Inc.
900 Knell Road
Montgomery, IL U.S.A. 60538
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to World of Books Inc, Montgomery, Illinois, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.