Mike Ramirez wrote:
> 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.
Mike - And Rob Hudson if you are listening :)
That is a great piece of kit. I have commented out all panels except
Header, RequestVars and Template for the time being and that tells me
most of what I want to know.
I think you're right that having the urls.py open too covers the rest of it.
Wonderful :)
Thanks
Mike
>
>
> http://rob.cogit8.org/blog/2008/Sep/19/introducing-django-debug-toolbar/
>
> Mike
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---