On Aug 24, 2008, at 8:19 AM, rmschne wrote:

> 4.  calling render_to_response is differnt than I thought!
> print render_to_response('mtg_summary.html',{'my_meeting':my_meeting})
>
> Question: in the context of this example, in
> {'my_meeting':my_meeting}), what are these two things opposite of the
> colon?

That's a Python dictionary, with 'my_meeting' as the key, and the  
my_meeting object as the value.  See:

http://docs.python.org/dev/tutorial/datastructures.html#dictionaries

---
David Zhou
[EMAIL PROTECTED]




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