Merge branch 'sam' into development

This commit is contained in:
Sam
2021-03-15 11:26:03 +00:00
7 changed files with 1044 additions and 179 deletions

View File

@@ -293,7 +293,7 @@ def purchase_email(request):
return Response({"error": "Related compay has no contact email address"}, status=status.HTTP_406_NOT_ACCEPTABLE)
try:
# send email to company
company_message = render_to_string('purchase_notification.html', {
company_message = render_to_string('purchase_notification_v2.html', {
'company': company,
'user': request.user,
'product': product,