May 2016
Beginner to intermediate
446 pages
10h 7m
English
The shapeEditor.shared application will hold the core database tables and Python modules we use throughout the system. Let's go ahead and create this application now. Use the cd command to change the current directory to the top-level shapeEditor directory and type the following:
python manage.py startapp shared
This will create a new Python package named shared that will hold the contents of the shared app. Note that, by default, a new application is placed in the topmost shapeEditor directory. This means you can import this application into your Python program like this:
import shared
Django's conventions say that applications in the topmost directory (or anywhere else in your Python path) are intended to be ...
Read now
Unlock full access