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
- The Ultimate Django Setup
- Hello, World in Django
- Preparation: Install Dependencies
- Generate a Starter Django Project
- Create a Database and Run the Project
- Create a Django-Superuser
- Practice Using the Admin
- Generate a Homepage App
- Prepping the Project for Templates
- Add a Simple Homepage View
- Create Your First Django Template
- Working With Variables in Templates
- Calling View Methods From Templates
- Your First Project is Complete!
- The EveryCheese Project
- Using Cookiecutter and Template
- Exploring the Generated Boilerplate
- Starting Up Your New Django Project
- Cheese Boilers
- Initializing the Git Repo Committing and Pushing
- Git Is Not for Stinky Cheeses
- What We Get From The Users App
- Adding User Bios
- Adding Bio to User Detail Template
- Introducing Tests
- User Profile Cheese
- The Cheeses App and Model
- Trying Out the Cheese Model
- Tests and Test Coverage
- The Cheeserator
- Adding Cheeses to the Admin
- Behind the Curtain
- Class Based View Fundamentals
- Writing the Cheese List View
- Wiring in the List View Url
- the Cheese List Template
- Add the CheeseDetailView
- The Cheese Detail Template
- Where to Dip Your Class Based Views
- Writing Factories for Tests
- Why Use Factories
- Using Factories in Tests
- How Your Cheese Objects Feel About Your Tests
- Finding and Adding a Third Party Countries App
- Display Cheese Country Data
- Implement Cheese Creation by Users
- Use Django Crispy Forms for Better Display
- Understand View Mixins and Loginrequiredmixin
- Add a Creator Field and Update Our Cheese Records
- Track and Display the Cheese Creator
- Update the Cheese Factory
- Update the Cheese Model Tests
- Test All the Cheese Views
- Test All the Cheese Url Patterns
- Adding a CheeseUpdateView and Form Recycling
- Test the Cheese Forms and Update Views
- EveryCheese is the Foundation!
- Changelog
- 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:
- The Two Scoops of Django series on best practices
- Django Packages
- Cookiecutter
- Cookiecutter Django
- Audrey Roy Greenfeld
- pydanny.com
- Much more!