Hi, Couple of questions 1. I'm passing on multiple forms as a list to the template and then iterating over that in the template. So I have something like this
{% for form in forms %} {{form.shipping}} {% endfor %} The problem is that form.shipping outputs HTML all of which has the same id. How do i override the id ? 2. In my models i have SHIPPING_CHOICES = ( ('None', 'None'), ('Air', 'Air'), ('Land', 'Land'), ('Ship', 'Ship'), ('Express','Express'), ) If i pass that to the template as shipping_choices and do this {% for choice in shipping_choices %} {{ choice[0] }} {% enfor %} I get an error. How do i access the array values ? Regards and Thanks Manu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---