#hotfix email after book vm

This commit is contained in:
Levi 2016-06-05 15:49:51 -05:00
parent adde97bea3
commit 0cb7645b50
1 changed files with 5 additions and 0 deletions

View File

@ -275,9 +275,14 @@ class PaymentVMView(LoginRequiredMixin, FormView):
# Send notification to ungleich as soon as VM has been booked
# TODO send email using celery
context = {
'vm': plan,
'order': order
}
email_data = {
'subject': 'New VM request',
'to': 'info@ungleich.ch',
'context': context,
'template_name': 'new_booked_vm',
'template_path': 'emails/'
}