From 22fabf32a54022f3bb84e669991b83c6b92dca82 Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Fri, 17 Nov 2023 20:27:07 -0500 Subject: [PATCH] add todo to views --- .gitignore | 2 ++ iaso/apps/patients/views.py | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index d78cdb6..b730807 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.sass-cache + # project specific serve diff --git a/iaso/apps/patients/views.py b/iaso/apps/patients/views.py index 8bf09d9..4443eac 100644 --- a/iaso/apps/patients/views.py +++ b/iaso/apps/patients/views.py @@ -17,6 +17,7 @@ def create(request): if form.is_valid(): patient = form.save() + # TODO catch errors on send_mail send_mail( "Fill out your patient intake form!", f"Thank you for your interest in the Shrivatsa Center. Here is the link to your personalized intake form: http://localhost:8000/portal/intake?id={patient.uuid}",