chiggsy
chiggsy

Reputation: 8443

Is there a class library diagram for django?

I'm looking for a way to find out the class structure at a glance for django. Is there a link to an overview of it?

Upvotes: 1

Views: 1892

Answers (4)

André Eriksson
André Eriksson

Reputation: 4360

A class diagram of most of django's class structure is really not very interesting or useful for that matter. The problem is that most classes you use for development with django are standalone in the sense that they don't branch out to child classes. The only thing that comes to mind is the structure of the class-based generic views, but that's not yet committed to trunk.

Other than that, there's really not much class structure that you use when developing with django. There are several examples for development for django, but most are transparent to the user (e.g. QuerySet and its children classes). I think a much better source for a better overview is the documentation and the source in general (no pun intended).

Upvotes: 1

dixon
dixon

Reputation: 1285

In the app django_extensions on google code. There is GraphModels command

Upvotes: 8

brianz
brianz

Reputation: 7448

Graphviz is solution worth looking at. Personally, I much prefer a graphic representation over UML

Upvotes: 0

ars
ars

Reputation: 123538

I'm not aware of a reference diagram. But you could probably generate one using a tool like the following:

Upvotes: 0

Related Questions