Send Dev-flock mailing list submissions to
        dev-flock@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.mit.edu/mailman/listinfo/dev-flock
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dev-flock digest..."


Today's Topics:

   1. r905 - in huginmunin/trunk/web/hm: . app/lib      app/media/css
      app/templates app/templates/forms app/templates/helpers
      app/templates/intro app/views db  env/snoopy lib lib/debug_toolbar
      lib/debug_toolbar/media   lib/debug_toolbar/panels
      lib/debug_toolbar/templates/debug_toolbar
      lib/debug_toolbar/templates/debug_toolbar/panels
      lib/debug_toolbar/toolbar ([EMAIL PROTECTED])
   2. settings.DEBUG_TOOLBAR (Lucy Mendel)


----------------------------------------------------------------------

Message: 1
Date: Tue, 16 Sep 2008 23:17:14 -0400 (EDT)
From: [EMAIL PROTECTED]
Subject: [Dev-flock] r905 - in huginmunin/trunk/web/hm: . app/lib
        app/media/css app/templates app/templates/forms app/templates/helpers
        app/templates/intro app/views db        env/snoopy lib lib/debug_toolbar
        lib/debug_toolbar/media lib/debug_toolbar/panels
        lib/debug_toolbar/templates/debug_toolbar
        lib/debug_toolbar/templates/debug_toolbar/panels
        lib/debug_toolbar/toolbar
To: dev-flock@mit.edu
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8

Author: lucy
Date: 2008-09-16 23:17:13 -0400 (Tue, 16 Sep 2008)
New Revision: 905
Commit message:
* updated debug toolbar library from rob hudson's master. includes context 
variable patch

* model admin show dimension parents. readability improved. removed delete 
option since that would permit items to point to nothing....seems like a bad 
state to be in. partially added updates. still working on form refactor.

* use render_response indirection instead of render_to_response directly. adds 
RequestContext and puts vars into debug toolbar when settings.DEBUG_TOOLBAR is 
True.

* <model>.get uses get_object_or_404 instead of get. 

* removed start.html from templates/intro



Added:
   huginmunin/trunk/web/hm/lib/debug_toolbar/media/
   huginmunin/trunk/web/hm/lib/debug_toolbar/media/jquery.js
   huginmunin/trunk/web/hm/lib/debug_toolbar/media/toolbar.css
   huginmunin/trunk/web/hm/lib/debug_toolbar/media/toolbar.js
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/request_vars.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/template.py
   
huginmunin/trunk/web/hm/lib/debug_toolbar/templates/debug_toolbar/panels/request_vars.html
   huginmunin/trunk/web/hm/lib/debug_toolbar/urls.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/views.py
Removed:
   huginmunin/trunk/web/hm/app/templates/intro/start.html
Modified:
   huginmunin/trunk/web/hm/__init__.py
   huginmunin/trunk/web/hm/app/lib/context.py
   huginmunin/trunk/web/hm/app/media/css/general.css
   huginmunin/trunk/web/hm/app/templates/base.html
   huginmunin/trunk/web/hm/app/templates/forms/generic.html
   huginmunin/trunk/web/hm/app/templates/forms/node_type.html
   huginmunin/trunk/web/hm/app/templates/general_extension.html
   huginmunin/trunk/web/hm/app/templates/gnrl_xtnsn_2.html
   huginmunin/trunk/web/hm/app/templates/helpers/table_form.html
   huginmunin/trunk/web/hm/app/templates/intro/intro_page.html
   huginmunin/trunk/web/hm/app/views/main.py
   huginmunin/trunk/web/hm/app/views/main_urls.py
   huginmunin/trunk/web/hm/app/views/model_forms.py
   huginmunin/trunk/web/hm/db/utils.py
   huginmunin/trunk/web/hm/env/snoopy/settings.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/middleware.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/__init__.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/cache.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/headers.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/sql.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/timer.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/panels/version.py
   huginmunin/trunk/web/hm/lib/debug_toolbar/templates/debug_toolbar/base.html
   
huginmunin/trunk/web/hm/lib/debug_toolbar/templates/debug_toolbar/panels/cache.html
   
huginmunin/trunk/web/hm/lib/debug_toolbar/templates/debug_toolbar/panels/headers.html
   
huginmunin/trunk/web/hm/lib/debug_toolbar/templates/debug_toolbar/panels/sql.html
   
huginmunin/trunk/web/hm/lib/debug_toolbar/templates/debug_toolbar/panels/templates.html
   huginmunin/trunk/web/hm/lib/debug_toolbar/toolbar/loader.py
   huginmunin/trunk/web/hm/lib/threadlocals_middleware.py
   huginmunin/trunk/web/hm/settings.py


------------------------------

Message: 2
Date: Tue, 16 Sep 2008 23:30:42 -0400
From: "Lucy Mendel" <[EMAIL PROTECTED]>
Subject: [Dev-flock] settings.DEBUG_TOOLBAR
To: Dev-Flock <dev-flock@mit.edu>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8

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.


------------------------------

_______________________________________________
Dev-flock mailing list
Dev-flock@mit.edu
http://mailman.mit.edu/mailman/listinfo/dev-flock


End of Dev-flock Digest, Vol 13, Issue 8
****************************************

Reply via email to