Hello Web App (Add the Custom Designed PDF)
Minimum price
Suggested price

Hello Web App

Learn how to build a web app using Django and Python! Updated for Django 3.2.

About the Book

Learn how to code web apps and get on the path to building your next side project, your lifestyle business, or your startup.

Updated for Django 3.2.

Hello Web App is written for non-programmers by a designer, and will walk you through every step you need before launching your web app live to real customers. No jargon, simple and friendly language, using the Python programming language and the Django framework. 

This book doesn't walk you through a specific tutorial, but instead uses a generic example (a "collection of things") to allow you to create something that interests you. A blog is a collection of posts, a store is a collection of products, a directory is a collection of people. The possibilities are endless.

Learn by doing—creating a project unique to you while teaching yourself how to build a web app. 

What you'll learn

Part 1

How to build a web app with Django

Django is the easiest way to launch a web app with users, registration, and dynamic objects.

How to use the Django admin

The best part about Django! Learn how to view and update your database using the Django admin.

Adding user registration

Allow folks to sign up for your web app! Learn how to add registration and login pages.

How to add payments with Stripe

Want to start generating revenue? Learn in this quick-and-easy chapter on adding Stripe.

Launch your web app on Heroku

Get your web app live on the internet for folks to see! Deployment made easy.

Part 2

Add user-uploaded images

Allow your users to upload images for their profiles or products.

Editing and resizing images

Learn how to set up your project to automatically resize or edit images.

Working with sessions

Learn how to store data short-term.

Learn how to work with multiple models

Break out your project into multiple models to store more information.

How to add payments with Stripe

Monetize your site and add payments or subscriptions to your accounts.

Adding Gulp, Sass, and other front-end technology

Learn how to integrate front-end tools and Node into your Django web app.

Adding an API

Add an API to your web app so your data can be accessed and used by other apps.

And more!

About the Author

Tracy Osborn
Tracy Osborn

Tracy Osborn is a designer, developer, and entrepreneur. In 2010, she taught herself Python and Django in order to launch her startup, WeddingLovely. Frustrated by existing tutorials that assumed previous programming knowledge, Hello Web App is what she wished existed when she was learning.


The Book
  • PDF

  • EPUB

  • WEB

  • English

Minimum price
Suggested price
Add the Custom Designed PDF

Add the custom designed Hello Web App PDF to your order!


  • extras
    The Custom Designed PDF

    The custom designed Hello Web App PDF — the same design that is in the printed paperback.

  • PDF

  • EPUB

  • WEB

  • English

Minimum price
Suggested price
Complete Hello Web App Package

The entire Hello Web App collection — Leanpub PDF, .mobi, and .ePub files, custom designed PDF, and 15 instructional screencasts to walk you through Hello Web App.


  • extras
    The Custom Designed PDF

    The custom designed Hello Web App PDF — the same design that is in the printed paperback.

  • extras
    Instructional videos

    15 instructional videos and screencasts including: How to use Git, using the command line, a walkthrough of real life web app code, a walkthrough of creating a unique website feature, and 11 videos covering every chapter of the book.

  • PDF

  • EPUB

  • WEB

  • English

Minimum price
Suggested price

Table of Contents

  • Introduction
  • What We’re Building
    • MVP: Minimum Viable Product
  • Prerequisites
    • HTML and CSS
    • Python (just a bit)
    • Suggestion: A Linux or Mac computer
  • Getting Started
  • Setting Up Your Templates
    • Adding a URL to urls.py
    • Creating your first view
    • Adding static files
  • Fun With Template Tags
    • Building complex templates with inheritance
    • Adding a few other static pages
    • Passing in variables and template tags
  • Adding Dynamic Data
    • Your local database
    • Setting up your model
    • Finishing setting up your database with migrations
    • Using the Django admin
  • Displaying Dynamic Information in the Templates
    • Querying for info from the database
    • Retrieving and filtering information with QuerySets
  • Setting Up Individual Object Pages
    • Adding the new pages to our URL definitions
    • Create the view
    • Setting up the template
  • Forms.py Funsies
    • Update your urls.py
    • And then add your view…
    • Create your forms.py file
  • Adding a Registration Page
    • Installing our first third party plugin for registration
    • Setting up password reset functionality
  • Associating Users with Objects
    • Changing our model so Users can own a Thing
    • Updating your registration flow
  • Setting Up Basic Browse Pages
    • Set up your URL routing
    • Set up the view
    • Create the template
    • Updating your nav and setting up redirects
  • Quick Hits: 404 Pages, requirements.txt, and Testing
    • Setting up 404 and 500 error pages
    • Setting up a requirements.txt
    • Setting up your first tests
  • Deploying Your Web App
  • Setting up Heroku
    • Installing a few extra packages
    • Creating your Procfile
    • Setting up your static files for production
    • Creating your app on Heroku
    • Setting up your production database
  • What To Do If Your App Is Broken
    • Error pages usually help you find the problem
    • Googling the error usually comes up with helpful answers
    • Ask for help
  • Important Things to Know
    • Code style
    • Documentation
    • Security
    • Using the Django Shell
  • Moving Forward
    • Keep building your app
    • Great books and additional reading
    • Additional tutorials and resources
    • Free online classes
    • In-person programming schools and development courses
    • Stay in touch with Hello Web App
  • References
  • Friendly Note
  • About the Author

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub