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 in form: if field.help_text == category: checkboxlist[category+'%s' % num] = field num += 1 return render_to_response('RetailForm.html', {'form': form, 'checkdata': checkboxlist}) And then im displaying them on a template, RetailForm.html: The dictionary: {{ checkdata }} <br /> <br /> Dictionary items: {% for check in checkdata %} {{ check }} {% endfor %} Here is the output: The dictionary: {'Toys0': <django.newforms.forms.BoundField object at 0x1bb4e50>, 'Toys1': <django.newforms.forms.BoundField object at 0x1bb4e90>, 'Bird0': <django.newforms.forms.BoundField object at 0x1bb4fd0>} Dictionary items: Toys0 Toys1 Bird0 The dictionary items are outputting the variable names as strings, but i would like them to actually output the checkbox input. They are obviously getting put into the dictionary as objects. Any ideas on how i can output the value of those variables on the page instead? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---