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