Learn Django

Chapter Intro

The last chapter taught you how to create a Heroku application and deploy your code to it. It showed you how to prepare your local dev environment, and adjust key Django settings so that the CRM Easy application would run on the Heroku platform.

In the next three chapters you'll learn how to create the subscriber form. This is an exciting series because it shows you how to use Django database functionality, how to create web forms, how to process payments on credit cards using Stripe, and will further your understanding on several topics including views, templates and URLs.

Creating the subscriber form involves several complex topics. Therefore it has been broken into three parts. In part one you'll learn how to create a form that creates user accounts. The second part of the series will teach you how to create a custom model to store a customer's personal information, including their billing address. The last part will show how to process payments.

By the end of the project you'll have built the order form page.

Level Set

Follow these steps to reset your project to a known working version.

1
2
3
4
5
6
7
8
# checkout the master
(venv)$ git checkout master

# checkout the baseline version for the current chapter
(venv)$ git checkout step-3

# create a new branch from this version
(venv)$ git checkout -b subscriber_form_part_1

Track your progress with a free account