geordi /

Filename Size Date modified Message
867 B
Initial commit
25.9 KB
Change license from GPL to LGPL
33 B
Initial commit
1009 B
Makefile: don't run lint tools on
1.1 KB
Remove GEORDI_OUTPUT_DIR setting
1.4 KB
Add command line support

Geordi: Interactive Django profiling

Geordi is a Django middleware that lets you interactively profile your site. Add ?__geordi__ to any URL, browse to it, and you'll get a PDF showing the request's call graph and the time spent in each call.

If you've set DEBUG = True in your Django settings, anyone can profile a page–even anonymous users. With DEBUG = False, only super users can profile pages.


Before you get started, make sure you have GraphViz installed.

After you've done pip install geordi, add 'geordi' to the INSTALLED_APPS setting, and add 'geordi.VisorMiddleware' to the MIDDLEWARE_CLASSES setting. You'll probably want to put it after Django's authentication middleware and before everything else.