Skip to content

Commit 5092a79

Browse files
authored
Add graph model diagrams #977 (#1350)
* Add graph model diagrams #977 Reference: #977 Signed-off-by: John M. Horan <[email protected]> * Add django-extensions to setup.cfg #977 Reference: #977 Signed-off-by: John M. Horan <[email protected]> --------- Signed-off-by: John M. Horan <[email protected]>
1 parent 5dc4b4e commit 5092a79

File tree

7 files changed

+32
-0
lines changed

7 files changed

+32
-0
lines changed

docs/source/_static/theme_overrides.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ div.rst-content {
2929
margin-left: 0px;
3030
}
3131
}
32+
33+
.with-shadow {
34+
box-shadow: 1px 1px 5px 3px #cccccc;
35+
}
137 KB
Loading
119 KB
Loading

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ In this documentation you will find information on:
3636
reference_importer_overview
3737
reference_improver_overview
3838
reference_framework_overview
39+
reference_model_overview
3940
command-line-interface
4041
importers_link
4142

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _reference_model_overview:
2+
3+
Model Overview
4+
=================
5+
6+
This is a set of Graphviz-based graph diagrams of the application and admin models as of 2023-11-27:
7+
8+
Application
9+
-----------
10+
11+
.. figure:: images/vcio-db-application-2023-11-27-01.png
12+
:alt: alternate text
13+
:width: 100%
14+
:class: with-shadow
15+
16+
.. rst-class:: clear-both
17+
18+
19+
Admin
20+
-----
21+
22+
.. figure:: images/vcio-db-admin-2023-11-27-01.png
23+
:alt: alternate text
24+
:width: 70%
25+
:class: with-shadow

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ install_requires =
5858
Django>=4.0.0
5959
psycopg2-binary>=2.8.6
6060
djangorestframework>=3.12.4
61+
django-extensions>=3.2.3
6162
django-filter>=2.4.0
6263
django-widget-tweaks>=1.4.8
6364
django-crispy-forms>=1.10.0

vulnerablecode/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"django.contrib.admin",
7171
"django.contrib.humanize",
7272
# Third-party apps
73+
"django_extensions",
7374
"django_filters",
7475
"rest_framework",
7576
"rest_framework.authtoken",

0 commit comments

Comments
 (0)