On 7/30/07, Peter Melvyn <[EMAIL PROTECTED]> wrote:
>
> On 7/30/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> > Try {% debug %}
>
> If you mentioned this feature: is there an easy way to reformat {%
> debug %} output the same/similiar way an exception error is reported?

Not easily. {% debug %} just outputs the context dictionary, without
any particular formatting. The easiest formatting you can use is to
just put {% debug %} in a <pre> block.

The django error pages use a different set of tricks for its
formatting; see django.views.debug for the views that provide those
pages.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to