Hi Harry, On Friday 05 February 2010 11:02:54 harryos wrote: > On the template html, I tried this > > {% for key in mydata_dict %} > {{key}} ={{ mydata_dict[key] }} > > {% endfor %} > > > This gives TemplateSyntaxError :Could not parse the remainder: '[key]' > from 'mydata_dict[key]' > > I understand template doesn't allow [] operator..Can somebody tell me > how I can get the value corresponding to the key? Reading the documentation would be a good start:
http://docs.djangoproject.com/en/dev/topics/templates/#variables Django is extremely well documented. -- Saygılarımla, Atamert Ölçgen -+- --+ +++ www.muhuk.com mu...@jabber.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.