Nathan Ostgard escribió:
> Try: {{ data|pprint }}
>
> On Jul 29, 10:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>   
>> I'm coming from CakePHP and I would typically set a variable for use
>> in my view with a call to findAll. Since there is a lot of data in the
>> array, I typically do something like:
>>
>> <pre>
>> <?php print_r($data); ?>
>> </pre>
>>
>> This way, I can find out what data is available in the view and figure
>> out how much I can scale back the recursion.
>>
>> Is there any equivalent in Python/Django? I've searched and didn't
>> come up with anything.
>>     
I didn't know of that function. Nice to know. But, is there a var where 
to access *all* the vars available in the template and it's contents? 
I've been needing that one for debugging for ever!

--~--~---------~--~----~------------~-------~--~----~
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