This repository represents a basic example of how PonyORM-based project with many entities can be organized. It contains several modules:
base_entities.py
- definesdb
object and some common entities;forum_entities.py
- defines some additional entities;university_entities.py
- defines some additional entities;all_entities.py
- collect all entities together;db_settings.py
- define parameters to connect to the database;db_utils.py
- define function which connect to the database;db_loading.py
- populating some initial data;main.py
- the main program.