generate ERD
This commit is contained in:
parent
43d13fed27
commit
b8f40d888a
@ -57,6 +57,7 @@ INSTALLED_APPS = [
|
||||
"django.contrib.sessions",
|
||||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
"django_extensions",
|
||||
"rest_framework",
|
||||
"compressor",
|
||||
"apps.api",
|
||||
|
@ -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
|
||||
|
5
scripts/entity-relationship-diagram.sh
Normal file
5
scripts/entity-relationship-diagram.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user