On Monday 10 August 2009 08:47:57 pm Mike Dewhirst wrote:
> If DEBUG is True I would like to include view.__name__ and the template
> filename somewhere in the rendered page.
>
> It would be nice to adjust the {% block title %} so the information
> appears in the top of the browser window-frame so it didn't upset an
> page layout stuff.
>
> Is there a reasonable way to do this?
>
> Thanks for any pointers.
>
> Mike
>

I use the django debug toolbar for a lot of this info, been awhile since I 
used it and I can't remember if the view function name is displayed but you 
can be sure the matching view function is called for the url in question, I 
usually keep the urls.py open when I'm working on a project/app.


http://rob.cogit8.org/blog/2008/Sep/19/introducing-django-debug-toolbar/

Mike

-- 
Why was I born with such contemporaries?
                -- Oscar Wilde

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to