This chapter does not have a code pack because almost all of the stuff that we are about to do here is new. Plus, we will do a lot of exploring in this chapter as well. This is both fun and shows you one of the many ways of approaching a tough project.
As there is no code pack to work from, you'll need to start the project by yourself. First, as always, create a new virtual environment for the new project. Next, with the environment activated, install Django and run the following:
> django-admin.py startproject formmason
This should create a formmason
folder with our new Django project, ready for us to start working on. Use the cd
command to get into this folder and create a new application that we'll be using to hold our views, models, and so on:
> python manage.py startapp main
Finally, add the main
application to our list of INSTALLED_APPS
in formmason/settings.py
. Once that's done, we're ready to start!