Is it possible to render a text version of a html template with render_to_response I would like to use only one template, and tha the text version just discard all the html tag
like : text_content = render_to_response('email.html', { "info": oinfo.info, }, mimetype="text/text") html_content = render_to_response('emai.html', { "info": oinfo.info, }, mimetype="application/html") msg = EmailMultiAlternatives(subject, text_content, email_from, email_to) msg.attach_alternative(html_content, "text/html") msg.send() Thank you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---