This works, but there has to be a better way:

class blastSettings(forms.Form):
   users = forms.ModelMultipleChoiceField(queryset=User.objects.all()

u=x.cleaned_data['users']
users = User.objects.filter(id__in=[x.id for x in u]).values()

body_template=Template(message.body)
for user in users:
   c=Context(detail)
   body = body_template.render(c)

Carl Karsten

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to