В моем views.py у меня есть следующий код
def cpio(request):
mainDict9=['hemant','jay','yash','Hari']
args={'mainDict9':mainDict9,}
msg_html =render_to_string('/home/user/infracom2/JournalContent/templates/JournalContent/test1.html',
{'mainDict9':mainDict9,})
from_email = 'gorantl.chowdary@ak-enterprise.com'
to_email = ['gorantla.chowdary@ak-enterprise.com']
subject="TESTING MAIL"
send_mail('email title',subject,from_email,to_email,html_message=msg_html,)
return render(request,'JournalContent/test1.html',args)
В моем тесте 1. html У меня есть следующий код
<!DOCTYPE html>
<html>
<table class="table table-bordered">
<thead>
<tr>
<th scope="col" class="table-secondary"><center>Modified Binaries/components</center></th>
<th scope="col" class="table-secondary"><center>CRs</center></th>
</tr>
</thead>
<tbody>
{% for king in mainDict9 %}
<tr>
<td style="width: 10px;" class="table-active">{{ king }}</td>
<td style="width: 10px;" class="table-active"></td>
</tr>
{% endfor %}
</tbody>
</table>
</html>
Проблема в моем GUI код bootstrap работает нормально, но при отправке содержимого по почте bootstrap функции не применяются