mirror of
https://github.com/tvastri-studio/iaso.git
synced 2025-04-09 22:40:16 -04:00
add todo to views
This commit is contained in:
parent
6dab371176
commit
22fabf32a5
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
.sass-cache
|
||||||
|
|
||||||
# project specific
|
# project specific
|
||||||
serve
|
serve
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ def create(request):
|
||||||
if form.is_valid():
|
if form.is_valid():
|
||||||
patient = form.save()
|
patient = form.save()
|
||||||
|
|
||||||
|
# TODO catch errors on send_mail
|
||||||
send_mail(
|
send_mail(
|
||||||
"Fill out your patient intake form!",
|
"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}",
|
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}",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user