diff options
author | Jesús <heckyel@hyperbola.info> | 2020-09-13 18:06:10 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-09-13 18:06:10 -0500 |
commit | bd3b9348531c946152842f5a1f1bd7caceda4c96 (patch) | |
tree | 782debfc6acd21347e146cbd021fc2fa8baa9bc2 /project/views.py | |
parent | 36f1d2e6ea63254721e99b7be63b3d649a945ef9 (diff) | |
download | personal-site-bd3b9348531c946152842f5a1f1bd7caceda4c96.tar.lz personal-site-bd3b9348531c946152842f5a1f1bd7caceda4c96.tar.xz personal-site-bd3b9348531c946152842f5a1f1bd7caceda4c96.zip |
Improve syntax email
Diffstat (limited to 'project/views.py')
-rw-r--r-- | project/views.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/project/views.py b/project/views.py index 4a284f8..7e8a958 100644 --- a/project/views.py +++ b/project/views.py @@ -4,8 +4,8 @@ from django.core.mail import EmailMessage from .models import Project from .forms import ContactForm from personalsite.settings import ( - E_INCOMING, - E_NOREPLAY + EMAIL_FROM, + EMAIL_TO ) @@ -24,8 +24,8 @@ def home(request): msg = EmailMessage( "Personal-Site: Nuevo mensaje", "De {} <{}>\n\nEscribió:\n\n{}".format(name, email, content), - E_NOREPLAY, - [E_INCOMING], + EMAIL_FROM, + [EMAIL_TO], reply_to=[email], ) try: |