jp.av.dev 2020-11-15 03:43:48 -03:00
parent 12583bdeb2
commit 0999ce6cce

@ -33,13 +33,13 @@ EMAIL_HOST_PASSWORD = 'clave-ejemplo'
) )
``` ```
### Envio de mail desde formulario de contacto
*views.py* *views.py*
``` ```
... ...
from django.core.mail import send_mail from django.core.mail import send_mail
from django.conf import settings from django.conf import settings
### Envio de mail desde formulario de contacto
... ...
def contacto(request): def contacto(request):
if request.method == "POST": if request.method == "POST":