> > How can I build select options from that in a template? > I think your subscripting syntax is wrong. Try:
<option value="{{ c.0 }}">{{ c.1 }}</option> Using newforms makes it pretty straight forward as well: <code> FOODS = ( ('spam', 'The Spam'), ('ham', 'The Ham'), ('eggs', 'The Eggs')) class FoodForm(forms.Form): food = forms.ChoiceField(choices=FOODS, label='Favorite Food') </code> Then just render the form field like you normally would: {{ form.food }} Check it for syntax, but I'm pretty sure that will work. Hope that helps. Doug Van Horn http://www.maydigital.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---