Commit 97c942a3 authored by LETORT Sebastien's avatar LETORT Sebastien

Update of the command used to generate an image of the data model (~django...

Update of the command used to generate an image of the data model (~django DB). Now we do not have to be in the container anymore to run it.
parent 2698751b
Pipeline #101010 passed with stages
in 5 minutes and 10 seconds
#! /bin/bash
# TODO: the command should be placed in the Makefile or an official doc.
# It should be ran in the django container.
# cf https://django-extensions.readthedocs.io/en/latest/graph_models.html
python3 ./manage.py graph_models --all-applications --group-models --output allgo_model.png
docker exec dev-django python3 ./manage.py graph_models --all-applications --group-models --output docs/allgo_model.png
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment