digraph model_graph { // Dotfile by Django-Extensions graph_models // Created: 2017-12-01 19:34 // Cli Options: -a fontname = "Helvetica" fontsize = 8 splines = true graph [ dpi = 300 ]; node [ fontname = "Helvetica" fontsize = 8 shape = "plaintext" ] edge [ fontname = "Helvetica" fontsize = 8 ] // Labels webshop_models_Category [label=<
Category
id AutoField
article ForeignKey (id)
name CharField
>] webshop_models_Option [label=<
Option
id AutoField
name CharField
value IntegerField
>] webshop_models_Setting [label=<
Setting
id AutoField
option ForeignKey (id)
enabled BooleanField
>] webshop_models_ArticleStatus [label=<
ArticleStatus
id AutoField
name CharField
>] webshop_models_ExchangeRate [label=<
ExchangeRate
id AutoField
exchange_rate_to_chf FloatField
name CharField
>] webshop_models_Article [label=<
Article
id AutoField
status ForeignKey (id)
description CharField
name CharField
price_in_chf DecimalField
stock FloatField
>] webshop_models_OrderStatus [label=<
OrderStatus
id AutoField
name CharField
>] webshop_models_OrderOfGoods [label=<
OrderOfGoods
id AutoField
article ForeignKey (id)
order_status ForeignKey (id)
amount FloatField
delivery_date DateField
order_date DateTimeField
>] webshop_models_Picture [label=<
Picture
id AutoField
article ForeignKey (id)
name CharField
>] webshop_models_Order [label=<
Order
id AutoField
order_status ForeignKey (id)
user ForeignKey (id)
>] webshop_models_ShoppingCart [label=<
ShoppingCart
id AutoField
user ForeignKey (id)
name CharField
>] webshop_models_City [label=<
City
id AutoField
name CharField
zip_code PositiveSmallIntegerField
>] webshop_models_Salutation [label=<
Salutation
id AutoField
name CharField
>] webshop_models_Person [label=<
Person
id AutoField
city ForeignKey (id)
salutation ForeignKey (id)
user OneToOneField (id)
first_name CharField
last_name CharField
street_name CharField
street_number CharField
>] django_contrib_admin_models_LogEntry [label=<
LogEntry
id AutoField
content_type ForeignKey (id)
user ForeignKey (id)
action_flag PositiveSmallIntegerField
action_time DateTimeField
change_message TextField
object_id TextField
object_repr CharField
>] django_contrib_auth_models_AbstractUser [label=<
AbstractUser
<AbstractBaseUser,PermissionsMixin>
date_joined DateTimeField
email EmailField
first_name CharField
is_active BooleanField
is_staff BooleanField
is_superuser BooleanField
last_login DateTimeField
last_name CharField
password CharField
username CharField
>] django_contrib_auth_models_Permission [label=<
Permission
id AutoField
content_type ForeignKey (id)
codename CharField
name CharField
>] django_contrib_auth_models_Group [label=<
Group
id AutoField
name CharField
>] django_contrib_auth_models_User [label=<
User
<AbstractUser>
id AutoField
date_joined DateTimeField
email EmailField
first_name CharField
is_active BooleanField
is_staff BooleanField
is_superuser BooleanField
last_login DateTimeField
last_name CharField
password CharField
username CharField
>] django_contrib_contenttypes_models_ContentType [label=<
ContentType
id AutoField
app_label CharField
model CharField
>] django_contrib_sessions_base_session_AbstractBaseSession [label=<
AbstractBaseSession
expire_date
session_data TextField
>] django_contrib_sessions_models_Session [label=< >] // Relations webshop_models_Category -> webshop_models_Category [label="article (category)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Setting -> webshop_models_Option [label="option (setting)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Article -> webshop_models_ArticleStatus [label="status (article)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_OrderOfGoods -> webshop_models_Article [label="article (orderofgoods)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_OrderOfGoods -> webshop_models_OrderStatus [label="order_status (orderofgoods)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Picture -> webshop_models_Article [label="article (picture)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Order -> django_contrib_auth_models_User [label="user (order)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Order -> webshop_models_OrderStatus [label="order_status (order)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Order -> webshop_models_Article [label="article (order)"] [arrowhead=dot arrowtail=dot, dir=both]; webshop_models_ShoppingCart -> django_contrib_auth_models_User [label="user (shoppingcart)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_ShoppingCart -> webshop_models_Article [label="article (shoppingcart)"] [arrowhead=dot arrowtail=dot, dir=both]; webshop_models_Person -> webshop_models_Salutation [label="salutation (person)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Person -> webshop_models_City [label="city (person)"] [arrowhead=none, arrowtail=dot, dir=both]; webshop_models_Person -> django_contrib_auth_models_User [label="user (person)"] [arrowhead=none, arrowtail=none, dir=both]; django_contrib_admin_models_LogEntry -> django_contrib_auth_models_User [label="user (logentry)"] [arrowhead=none, arrowtail=dot, dir=both]; django_contrib_admin_models_LogEntry -> django_contrib_contenttypes_models_ContentType [label="content_type (logentry)"] [arrowhead=none, arrowtail=dot, dir=both]; django_contrib_auth_base_user_AbstractBaseUser [label=<
Session
<AbstractBaseSession>
session_key CharField
expire_date DateTimeField
session_data TextField
AbstractBaseUser
>] django_contrib_auth_models_AbstractUser -> django_contrib_auth_base_user_AbstractBaseUser [label="abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; django_contrib_auth_models_PermissionsMixin [label=<
PermissionsMixin
>] django_contrib_auth_models_AbstractUser -> django_contrib_auth_models_PermissionsMixin [label="abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; django_contrib_auth_models_Permission -> django_contrib_contenttypes_models_ContentType [label="content_type (permission)"] [arrowhead=none, arrowtail=dot, dir=both]; django_contrib_auth_models_Group -> django_contrib_auth_models_Permission [label="permissions (group)"] [arrowhead=dot arrowtail=dot, dir=both]; django_contrib_auth_models_User -> django_contrib_auth_models_Group [label="groups (user)"] [arrowhead=dot arrowtail=dot, dir=both]; django_contrib_auth_models_User -> django_contrib_auth_models_Permission [label="user_permissions (user)"] [arrowhead=dot arrowtail=dot, dir=both]; django_contrib_auth_models_User -> django_contrib_auth_models_AbstractUser [label="abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; django_contrib_sessions_models_Session -> django_contrib_sessions_base_session_AbstractBaseSession [label="abstract\ninheritance"] [arrowhead=empty, arrowtail=none, dir=both]; }