On Dec 14, 1:03 am, Steve Freitas <[EMAIL PROTECTED]> wrote: > Only, it doesn't work. It seems like <variable>.<argument> lookups > require the argument to be a literal, not a variable.
Grindizer addresses your specific problem of enumerating key/value pairs in a template (piece of cake!), but if you still wanted to reference attributes with a "dynamic" name, here's an old thread where I asked the same thing, and got some good suggestions. (You can do it with a custom tag OR a custom filter) http://groups.google.com/group/django-users/browse_thread/thread/2f7c88a386ac5d59/0a53f94e28937dbe?hl=en&lnk=gst --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---