Configure email backend for local development and update NGINX HTTPS port in environment settings
This commit is contained in:
@@ -21,3 +21,6 @@ GUNICORN_LOGLEVEL=info
|
||||
NGINX_HTTP_PORT=8080
|
||||
# Pick a non-privileged HTTPS port to avoid conflicts with host installs
|
||||
NGINX_HTTPS_PORT=8444
|
||||
|
||||
# Use console email backend for local development to avoid sending real mail
|
||||
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
|
||||
+1
-1
@@ -325,7 +325,7 @@ TINYMCE_DEFAULT_CONFIG = {
|
||||
|
||||
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
||||
|
||||
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
|
||||
EMAIL_BACKEND = os.environ.get("EMAIL_BACKEND", "django.core.mail.backends.smtp.EmailBackend")
|
||||
|
||||
# SENDGRID_API_KEY = os.getenv('SENDGRID_API_KEY')
|
||||
SENDGRID_API_KEY = (
|
||||
|
||||
Reference in New Issue
Block a user