From 76821f415390c114c3404ef5b3a2cf41062effef Mon Sep 17 00:00:00 2001 From: tsb1995 <47466105+tsb1995@users.noreply.github.com> Date: Mon, 28 Dec 2020 15:15:54 -0800 Subject: [PATCH] update email functionality and add instructors href --- main/views.py | 2 +- templates/instructors.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main/views.py b/main/views.py index 776399f..d98c958 100644 --- a/main/views.py +++ b/main/views.py @@ -59,7 +59,7 @@ def send_mail(request): subject = "New Site Contact", message = "A possible new student has contacted us. Their name is {}, phone number {}, and email {}.".format(name, phone, email), from_email = 'tsb1995@gmail.com', - recipient_list = ['tsb1995@gmail.com'], + recipient_list = [email], fail_silently=False, ) diff --git a/templates/instructors.html b/templates/instructors.html index 06227d8..e89d590 100644 --- a/templates/instructors.html +++ b/templates/instructors.html @@ -17,16 +17,16 @@
- +
- +
- +
- +