add django_extensions generate UML

master/v0.1.0
TBS093A 2020-07-24 10:53:39 +02:00
parent a6d22861bd
commit 138a04ee99
5 changed files with 12 additions and 1 deletions

Binary file not shown.

View File

@ -39,6 +39,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_extensions',
'corsheaders',
'channels'
]

BIN
class_diagram.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

3
migrate.sh 100755
View File

@ -0,0 +1,3 @@
python manage.py makemigrations
python manage.py migrate
python manage.py graph_models -a -g -o class_diagram.png

View File

@ -1,5 +1,12 @@
pip install django
pip install django-cors-headers
pip install channels_redis
pip install requests
pip install pyjwt
pip install pyjwt
pip install django_extensions
pip install pydotplus
# for runing generate UML:
# apt-get install graphviz