add a class diagramme for the shoppingcartposition

This commit is contained in:
Andreas Zweili 2018-02-06 22:27:08 +01:00
parent 3f7cc92fc1
commit e797470240
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,63 @@
digraph model_graph {
// Dotfile by Django-Extensions graph_models
// Created: 2018-01-29 22:04
// Cli Options: -a
fontname = "Helvetica"
fontsize = 8
splines = true
node [
fontname = "Helvetica"
fontsize = 8
shape = "plaintext"
]
graph [ dpi = 300 ];
edge [
fontname = "Helvetica"
fontsize = 8
]
// Labels
webshop_models_ShoppingCartPosition [label=<
<TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
<TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4">
<FONT FACE="Helvetica Bold" COLOR="white">
ShoppingCartPosition
</FONT></TD></TR>
<TR><TD ALIGN="LEFT" BORDER="0">
<FONT FACE="Helvetica Bold">id</FONT>
</TD><TD ALIGN="LEFT">
<FONT FACE="Helvetica Bold">AutoField</FONT>
</TD></TR>
<TR><TD ALIGN="LEFT" BORDER="0">
<FONT FACE="Helvetica Bold">article</FONT>
</TD><TD ALIGN="LEFT">
<FONT FACE="Helvetica Bold">ForeignKey (id)</FONT>
</TD></TR>
<TR><TD ALIGN="LEFT" BORDER="0">
<FONT FACE="Helvetica Bold">order</FONT>
</TD><TD ALIGN="LEFT">
<FONT FACE="Helvetica Bold">ForeignKey (id)</FONT>
</TD></TR>
<TR><TD ALIGN="LEFT" BORDER="0">
<FONT FACE="Helvetica ">amount</FONT>
</TD><TD ALIGN="LEFT">
<FONT FACE="Helvetica ">FloatField</FONT>
</TD></TR>
<TR><TD ALIGN="LEFT" BORDER="0">
<FONT FACE="Helvetica ">price_in_chf</FONT>
</TD><TD ALIGN="LEFT">
<FONT FACE="Helvetica ">DecimalField</FONT>
</TD></TR>
</TABLE>
>]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB