manage.py

The script manage.py performs a number of jobs to help set up and manage the project. For testing purposes, it can create a local web server (using runserver as the argument); it manages database schema migrations, generating tables from data models (using makemigration and migrate); it even has a built-in Python 3 shell (using shell) for testing and more:

In this section, we'll use manage.py to create and populate database tables, using shapefiles as the data and schema source.

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.