[Dev-flock] settings.DEBUG_TOOLBAR
Lucy Mendel
lucy at thoughtandmemory.org
Tue Sep 16 23:30:42 EDT 2008
yo,
A quick note about my last commit:
We're using a module called 'django-debug-toolbar' that displays
debug/profiling information at the top of web pages. It is off by
default. To use, add DEBUG_TOOLBAR = True to your local settings file
to override the default False value.
An earlier commit did contain this module in the hm/lib directory.
This was from dcramer's fork of the module. I didn't notice too severe
a performance hit when using it. For this past commit I used a fork of
the master debug-toolbar repo
(http://github.com/robhudson/django-debug-toolbar/tree). There's a
pretty significant performance hit now. I'll investigate porting perf
improvements from dcramer's fork, or else disable (by default)
unnecessary features.
Note that the Request Var panel shows context variables. That is, it
shows the variables available to the templates.
Feel free to improve the css of the panels---right now our light blue
links on their orange is pretty killer. (I literally can't read what
I'm writing right now; I admit, though, that I haven't been wearing
glasses all day)
Now that the debug diversion is coming to an end I'm back on view
maintenance and form improvements/use/documentation, and will
hopefully hit structures improvements/use/refactoring/documentation
afterwards.
Lucy.
More information about the Dev-flock
mailing list