On 10/14/06 20:11, code enquest wrote:
> Steven Armstrong schreef:
>> On 10/14/06 19:46, code enquest wrote:
>>   
>>> in PhP i used to print_r(array) to see what if got in my array that I 
>>> want to bring on the screen. Smarty even had a popup screen to show this.
>>>
>>> How can I see in Django what I got in the view? So that working in the 
>>> template goes a tat faster? What is the print_r($array) in the template 
>>> or Django version?
>>>
>>> Enquest
>>>
>>>     
>>
>> http://www.djangoproject.com/documentation/templates/#debug
>>
>> Not exactly what you're after, but maybe it helps anyway.
>>
>>   
> I was looking at this but I'm afraid I don't understand how to implement 
> it correct. Maybe you could elaborate on it.
> 

Put {% debug %} somewhere in your template.

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

Reply via email to