Add local mail config
This commit is contained in:
parent
33798dd299
commit
6adabac266
1 changed files with 9 additions and 0 deletions
|
@ -132,3 +132,12 @@ MEDIA_URL = "media/"
|
|||
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
||||
|
||||
CRISPY_TEMPLATE_PACK = 'bootstrap5'
|
||||
|
||||
if DEBUG:
|
||||
# Mailhog configuration
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||
EMAIL_HOST = '0.0.0.0'
|
||||
EMAIL_PORT = 1025
|
||||
EMAIL_HOST_USER = ''
|
||||
EMAIL_HOST_PASSWORD = ''
|
||||
EMAIL_USE_TLS = False
|
||||
|
|
Loading…
Reference in a new issue