TablesΒΆ
The table design is represented in the models.py file of each app. Once you have the application running, you can generate a graph as follows - we are only going to include models from main, and exclude the abstract BaseModel (which unnecessarily adds complexity to the diagram):
$ python manage.py graph_models main -X BaseModel -o tables.png
Or from the outside of the container:
$ docker exec -it spack-monitor_uwsgi_1 python manage.py graph_models -X BaseModel main -o tables.png
$ mv tables.png docs/development/img/
The output looks like this: