Carry out the following steps:
- Create a Django project using the django-admin command with the startproject option. Name the project wildlife. The command for creating the project will be as follows:
(chp09-env)$ cd ~/postgis_cookbook/working/chp09 (chp09-env)$ django-admin.py startproject wildlife
- Create a Django application using the django-admin command with the startapp option. Name the application sightings. The command will be as follows:
(chp09-env)$ cd wildlife/ (chp09-env)$ django-admin.py startapp sightings
Now you should have the following directory structure:
- You will need to edit some files. Open your favorite ...