Trying to find a way to comply with the last week’s assignment (profiling your software) I today found out that the command_extensions for Django could provide some help (runprofileserver). However, that is not why I am currently writing.
The reason for this post is another command, graph_models, which can be used as such:
wildcard /home/wildcard/voxsite $ python manage.py graph_models -a -g -o my_project_visualized.png
This however requires a few things to work, namely python-pygraphviz and graphviz-dev (if you’re a Ubuntu user at least). But this is pretty cool, now I have automatically generated class-diagrams of my project.
\o/
Related posts:
- 2011w21 timetrack I have come up with a way to achieve...
- Documentation, best practices? I am, as part of the AFST course, working on...
- A piece of Python The other day, a friend of mine from the university...
- Python, urllib2 and Vox Anonymus The project I am currently working on for the Advanced...
- Vim + snipMate As I sat down in front of the computer today...
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: command_extensions, Django, GraphViz, Python
