Two Scoops Press is now one of several Roy Greenfeld, Inc. brands.
Two Scoops Press is now one of several Roy Greenfeld, Inc. brands.
Cart 0
Django Crash Course: Covers Python 3.8 and Django 3.x - Beta Version
Django Crash Course: Covers Python 3.8 and Django 3.x - Beta Version
Django Crash Course: Covers Python 3.8 and Django 3.x - Beta Version
Two Scoops Press

Django Crash Course: Covers Python 3.8 and Django 3.x - Beta Version

Regular price $ 19.99 $ 0.00 Unit price per

273 pages, with frequent updates while the project is in beta.

We're happy to announce the beta version of this e-book is now out! Beta means that this is an early pre-release preview intended for our most passionate readers willing to get the latest, most cutting-edge written materials from us with the tradeoff of increased likelihood of errors. Periodically we'll update the e-book download with corrections, sending out updates via new download links as often as we can.

As a reader, you're encouraged to submit bug reports to us for errors that you find. In turn we will give you credit for your contributions in not just the e-book but also in the print paperback and online publicly on the web. This is your opportunity to have your name in one of our books as a contributor, which you are then welcome to add to your resume and LinkedIn profile.

We have been known in the past to offer the most prolific contributors of Two Scoops of Django a chance to be recognized as technical reviewers.

What Is Django Crash Course?

The Django Crash Course book is a guided walkthrough where we build a real, production-quality Django web application from the ground up.

Originally a large part of our corporate training materials, this tutorial was once only available to companies paying $3000 a seat for in-person training. The contents of this book are professional-grade and have been used by real software companies to get their engineers up and running fast with Python 3.8 and Django 3.x development.

This book is designed to build solid foundations for any developer looking to get proficient with Django fast. Once you've finished the book, you'll be able to purchase Django Crash Course extensions on topics such as deployment on various platforms, Django REST Framework (DRF), Javascript frameworks like VueJS and/or React, third-party packages, and more.

Table of Contents

The table of contents is subject to change.

  • Introduction
  • The Ultimate Django Setup
  1. Hello, World in Django
  2. Preparation: Install Dependencies
  3. Generate a Starter Django Project
  4. Create a Database and Run the Project
  5. Create a Django-Superuser
  6. Practice Using the Admin
  7. Generate a Homepage App
  8. Prepping the Project for Templates
  9. Add a Simple Homepage View
  10. Create Your First Django Template
  11. Working With Variables in Templates
  12. Calling View Methods From Templates
  13. Your First Project is Complete!
  14. The EveryCheese Project
  15. Using Cookiecutter and Template
  16. Exploring the Generated Boilerplate
  17. Starting Up Your New Django Project
  18. Cheese Boilers
  19. Initializing the Git Repo Committing and Pushing
  20. Git Is Not for Stinky Cheeses
  21. What We Get From The Users App
  22. Adding User Bios
  23. Adding Bio to User Detail Template
  24. Introducing Tests
  25. User Profile Cheese
  26. The Cheeses App and Model
  27. Trying Out the Cheese Model
  28. Tests and Test Coverage
  29. The Cheeserator
  30. Adding Cheeses to the Admin
  31. Behind the Curtain
  32. Class Based View Fundamentals
  33. Writing the Cheese List View
  34. Wiring in the List View Url
  35. the Cheese List Template
  36. Add the CheeseDetailView
  37. The Cheese Detail Template
  38. Where to Dip Your Class Based Views
  39. Writing Factories for Tests
  40. Why Use Factories
  41. Using Factories in Tests
  42. How Your Cheese Objects Feel About Your Tests
  43. Finding and Adding a Third Party Countries App
  44. Display Cheese Country Data
  45. Implement Cheese Creation by Users
  46. Use Django Crispy Forms for Better Display
  47. Understand View Mixins and Loginrequiredmixin
  48. Add a Creator Field and Update Our Cheese Records
  49. Track and Display the Cheese Creator
  50. Update the Cheese Factory
  51. Update the Cheese Model Tests
  52. Test All the Cheese Views
  53. Test All the Cheese Url Patterns
  54. Adding a CheeseUpdateView and Form Recycling
  55. Test the Cheese Forms and Update Views
  • Next Steps
  • Changelog
  • Acknowledgements


    What formats?

    Currently we provide PDF and epub downloads with every ebook order. As part of the ebook product, we plan to include a mobi file soon. 

    There will be a digest-sized print versions once the book enters its final phase of development. For print, we plan to support perfect bound, spiral, and hardcover versions. 

    How much for shipping for print versions?

    That depends on where you live, but the most anyone will have to pay shipping to get the book in print is US$6.99. So yes, if you are in Asia, Africa, Europe, North America, or South America, your shipping fee will max out at $6.99.

    I've never programmed before. Is this book for me?

    Not yet, but soon. We recommend you learn the basics of Python programming first. Spend a weekend with tutorials such as Learn Python the Hard Way or Automate the Boring Stuff with Python, then pick up this book.

    What's your release schedule?

    We plan to release the different versions of our book as follows:

    • Alpha E-Book: Late January 2020, with frequent updates as we improve the book. Updates will include corrections and many additional pages of instruction.
    • Beta E-Book: February 14th, 2020, with frequent updates as we improve the book. 
    • Final E-Book and Print Versions: Summer 2020. Once it goes out to print in perfect bound, coil, and hardcover, updates to the Django 3.x edition will slow down and eventually stop.

    We may need to update this schedule depending on changes in Django, ability to get prototypes from printers, and the weather.

    Will the print paperback be autographed?

    We thought hard about this and decided against it. While we wish we could autograph every copy, signing books creates restrictions that make logistics challenging. For example, if we find a printer in Australia that can ship books to a fulfillment warehouse in Australia, we would have to fly to Australia to sign the books between printing and shipment. Flying to every country would be amazing but is prohibitively expensive. That said, we're very happy to sign copies of our books at conferences and meetups.

    If I buy the e-book now, can I get a discount on the print version later?

    Absolutely! The value of the discount will match the bundle.

    Class-Based Views (CBVs) or Function-Based Views (FBVs)?

    We only teach Class-Based Views (CBVs). Our reason is this:

    • We've found teaching FBVs then CBVs is very confusing for students
    • Third-party package support is MUCH stronger for CBVs than for FBVs. The canonical example if Django REST Framework (DRF), where FBV support is clearly an afterthought.

    What's up with the extensions?

    When we give our trainings after we build the foundations covered in this book, we structure our courses according to the desires of our students. The topic material we've accumulated over time is in a set of files. Our plan is to write "micro-books" based on this material and call it the Django Crash Course Extension System and charge around $2.99+ for each one.

    This way, instead of putting stuff into the Django Crash Course book that you might not care about, you can purchase specific content for your needs. For example, while we know VueJS and AWS, many of our readers would prefer material on React and/or GCP. 

    Is this book good for data scientists?

    Absolutely! In fact, we chose Conda as our Python environment and pip for dependency management. This makes getting everything right across different operating systems for students very straightforward. These tools also empower us to create data-focused extensions.

    If I purchase the Alpha e-book, do I get access to the Beta and Final versions?

    Yes, you get access to all subsequent versions of the 3.x edition of the Django Crash Course.

    Who are the authors?

    Daniel and Audrey Roy Greenfeld are long-time authors. They are also experienced software engineers each with decades of programming experience at MIT, NASA, Microsoft, SharpCast, and more. In addition to writing Django Crash Course, they created: