UML Diagrams

34 views
Skip to first unread message

Apurv Verma

unread,
Oct 13, 2011, 1:34:56 AM10/13/11
to Django users
Hii all,
I am making a web application in Django. What tools are available to
create class diagrams which can then later autogenerate the code
template for it.

thanks,
Apurv

Javier Guerra Giraldez

unread,
Oct 13, 2011, 9:56:52 AM10/13/11
to django...@googlegroups.com
On Thu, Oct 13, 2011 at 12:34 AM, Apurv Verma <dap...@gmail.com> wrote:
>  I am making a web application in Django. What tools are available to
> create class diagrams which can then later autogenerate the code
> template for it.

i do it the other way: generate diagrams from the models definition.
(django-extensions + graphviz).

code generators seem handy, but you have to tweak the code, and if you
later change the diagram regenerating the code usually stomps your
extra modifications.

Django models declaration style is terse enough to allow for quickly
testing lots of possibilities. with an autoupdating diagram on
another window you have a very clear picture of the design.

--
Javier

Tiago Almeida

unread,
Oct 13, 2011, 10:27:59 AM10/13/11
to Django users
Something I found but never had the time to try:

http://code.google.com/p/uml-to-django/

Hope it helps.
Reply all
Reply to author
Forward
0 new messages