O'Reilly logo

Python Geospatial Development - Second Edition by Erik Westra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up the ShapeEditor project

We now have to create the Django project which will hold the ShapeEditor system. To do this, cd into the directory where you want the project's directory to be placed, and type:

% django-admin.py startproject shapeEditor

When you installed Django, it should have placed the django-admin.py program onto your path, so you shouldn't need to tell the computer where this script resides.

All going well, Django will create a directory named shapeEditor, which contains a python program named manage.py. You will use this program to start, stop, and configure your project, and another directory (also called shapeEditor) that holds the files that make up your project. Let's take a closer look at these files:

  • __init__.py

    You should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required