generate ERD

This commit is contained in:
Corban-Lee Jones 2024-11-05 19:26:42 +00:00
parent 43d13fed27
commit b8f40d888a
3 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,7 @@ INSTALLED_APPS = [
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"django_extensions",
"rest_framework",
"compressor",
"apps.api",

View File

@ -3,8 +3,10 @@ Django==5.0.6
django-appconf==1.0.5
django-compressor==4.4
django-environ==0.11.2
django-extensions==3.2.3
django-libsass==0.9
djangorestframework==3.15.2
graphviz==0.20.3
libsass==0.22.0
pillow==11.0.0
python-dotenv==1.0.1

View File

@ -0,0 +1,5 @@
cd "$(dirname "$(readlink -f "$0")")"/..
source ./venv/bin/activate
python manage.py graph_models apps_home | dot -Tpng -o entity-relationship-diagram.png