How is admin_list created?  Could you show your code?

-Jim

On Friday, October 4, 2013 9:21:18 AM UTC-5, Vasiliy Boulytchev wrote:
>
> Jim,
>   Taking the $var x:1 out did not solve this.  Same behavior, no change. 
>  Any other ideas why this is so?
>
>
> On Fri, Oct 4, 2013 at 8:34 AM, Jim Gregory <[email protected]<javascript:>
> > wrote:
>
>> I *think* its because you are assigning x = 1 at the top of the template, 
>> which causes your for loop to fail because '1' is not in admin_list.
>>
>> - Jim
>>
>>
>> On Thursday, October 3, 2013 12:53:22 PM UTC-5, Vasiliy Boulytchev wrote:
>>>
>>>  Gents, for whatever reason, I am not seeing templates rendering the 
>>> passed-in dictionary. This is working properly on another page of mine, and 
>>> the output is correct in console. What is the problem?
>>>
>>> My Python Class:
>>>
>>> class Admins:
>>>   def GET(self):
>>>     for x in admin_list:
>>>       print x['Email'], x['Date']
>>>     return render.adminlist(admin_list = admin_list)
>>>
>>> (console output)
>>>
>>> adminlist.html
>>>
>>> $def with (admin_list)
>>> $var title: Admin List.
>>> $var x: 1
>>>
>>> $for x in admin_list:
>>>    <h2> $x['Email'] </h2></h2>
>>>
>>> Output is empty :( Can someone please please please help? Thanks!
>>> http://stackoverflow.com/**questions/19165518/web-py-not-**
>>> parsing-dictionary<http://stackoverflow.com/questions/19165518/web-py-not-parsing-dictionary>
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "web.py" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>
>> .
>> Visit this group at http://groups.google.com/group/webpy.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Vasiliy Boulytchev
>  

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to