From 160df7685ca22bdeb7e802f2979bf720e7838738 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 30 Jun 2017 12:47:04 +0530 Subject: [PATCH] Refactored dcl text and support email --- datacenterlight/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 49891730..ffc16eb9 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -468,8 +468,8 @@ class OrderConfirmationView(DetailView): 'order.id': order.id } email_data = { - 'subject': "Data Center Light Order from %s" % context['email'], - 'from_email': '(Data Center Light) Data Center Light Support ', + 'subject': settings.DCL_TEXT + " Order from %s" % context['email'], + 'from_email': settings.DCL_SUPPORT_FROM_ADDRESS, 'to': ['info@ungleich.ch'], 'body': "\n".join(["%s=%s" % (k, v) for (k, v) in context.items()]), 'reply_to': [context['email']],