On Wed, May 18, 2011 at 3:10 PM, Geoff Kuenning <ge...@cs.hmc.edu> wrote:
> I'm using Django 1.0.2, with plans to upgrade to 1.2.5 at some point.
>
>                {{ row.{{col.col_name}} }}      <!-- OOPS -->
>
> Am I up a creek?  Or is there some trick I'm missing here?
>

http://groups.google.com/group/django-users/browse_thread/thread/6f4b7d95e4d0c810/abd10cb039f1f68c?show_docid=abd10cb039f1f68c&pli=1

Obviously, you don't want a dictionary lookup, you want an attribute
lookup (use getattr).

Cheers

Tom

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