From 6042962e4f7edb4fe2472508897521176fee2581 Mon Sep 17 00:00:00 2001 From: matheuspdf Date: Thu, 10 Oct 2024 20:57:35 -0300 Subject: [PATCH] Ajuste no settings com PORT default --- eventex/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventex/settings.py b/eventex/settings.py index 5fb4268..7e96990 100644 --- a/eventex/settings.py +++ b/eventex/settings.py @@ -133,7 +133,7 @@ # Email configuration EMAIL_BACKEND = config('EMAIL_BACKEND', default='django.core.mail.backends.smtp.EmailBackend') EMAIL_HOST = config('EMAIL_HOST', default='') -EMAIL_PORT = config('EMAIL_PORT', cast=int, default='') +EMAIL_PORT = config('EMAIL_PORT', cast=int, default=587) EMAIL_USE_TLS = config('EMAIL_USE_TLS', cast=bool, default='') EMAIL_HOST_USER = config('EMAIL_HOST_USER', default='') EMAIL_HOST_PASSWORD = config('EMAIL_HOST_PASSWORD', default='')