Re: looping through newforms fields in a template

2008-07-06 Thread joshuajonah
Resolved. A little black magic required: http://www.zedkep.com/blog/index.php?/archives/85-Iterating-over-a-dictionary-in-Django-templates.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

looping through newforms fields in a template

2008-07-06 Thread joshuajonah
ok, it's actually pretty complicated but I'll give you the specific issue. I'm making a dictionary of form fields, views.py: form = RetailForm() categories = ['Toys', 'Bird'] checkboxlist = {} for category in categories: num = 0 for field