Re: ERD Diagram of Satchmo DB

70 views
Skip to first unread message

Ben Sturmfels

unread,
Sep 7, 2012, 7:06:38 PM9/7/12
to satchmo-d...@googlegroups.com, pjoh...@thinktiv.com
On 08/09/12 02:21, Splashlin wrote:
> Does anyone have an ERD Diagram of Satchmo's DB? Looking to use it for
> a project but will need to modify the DB architecture. Would like to do
> it on Visio before busting into the sql.

It's not strictly an entity-relationship diagram, but you might find
that the "graph_models" command from the "django-extensions" does the trick.

I install it like this on my GNU/Linux system:

sudo apt-get install graphviz graphviz-dev python-pygraphviz
pip install django-extensions (to get version 0.9)

Add "django-extensions" to your INSTALLED_APPS along with the relevant
Satchmo apps.

Then run:

python manage.py graph_models -a -o myapp_models.png

Docs are here:
https://github.com/django-extensions/django-extensions

I'll send you a copy of the PNG file directly. It's too large to post to
the list.

Regards,
Ben

Splashlin

unread,
Sep 8, 2012, 12:47:41 PM9/8/12
to satchmo-d...@googlegroups.com, pjoh...@thinktiv.com, b...@sturm.com.au
Thanks!
Reply all
Reply to author
Forward
0 new messages