Feldroy.com

A Wedge of Django 3.x

How much does it cost?

$34.99, available for purchase here.

What formats is this book in?

We provide PDF, epub, and kindle/mobi downloads with every ebook order.

If a publisher picks up this book, they may do a print verssion.

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.

Can I see the table of contents?

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

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 is Django REST Framework (DRF), where FBV support is clearly an afterthought.

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 purchased 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.

If I purchased the beta e-book, do I get access to the Final versions?

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

What happens if I use up all my downloads?

If you use up all your downloads you can email us to get them reset back to five (5).

Also, any time we update our books, we reset the download count back to five.

Will there be any translations?

Perhaps if a publisher picks up this book.

If you represent a publisher, please contact us at hi@feldroy.com.

What is Two Scoops of Django?

It's the book to get after you finish the Django Crash Course!

Who are the authors?

Daniel and Audrey Feldroy (formerly 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: