How Far We Got

There's a quote (attributed to various people---I'd welcome a pointer to the original) to the effect that if you show me your code, I don't know what you're doing, but if you show me your data structures, I'll understand. To figure out just how far our students got rebuilding DrProject on top of Django this term, I asked one of them to generate a schema diagram for the database tables. The result, included below, was created by running the following commands in a virtual environment:
$ svn checkout http://django-command-extensions.googlecode.com/svn/trunk/ django-extensions
$ cd django-extensions
$ python setup.py install
$ django graph_models -ag > schema.dot
$ dot -o schema.png -Tpng schema.dot
Basie 0.1 schema (Note: I moved the three tables floating in the bottom middle from the upper right corner to make it more printable.)
comments powered by Disqus