On Feb 5, 1:24 am, Mike Ramirez <gufym...@gmail.com> wrote:
>
> http://docs.djangoproject.com/en/dev/topics/templates/#variables
>
> {{ mydata_dict.key }}
>
> Templates use the dot operator to access attributes to a variable.

The above will attempt to find a key in the dict named 'key'...which
is not the intended outcome. I find the variable name restriction to
be frustrating when working with dicts in the template language.

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

Reply via email to