feat(api): add email configuration
This commit is contained in:
parent
001466f8fd
commit
c2c0be1fbc
9 changed files with 220 additions and 0 deletions
|
@ -18,6 +18,7 @@ from .prod import (
|
|||
DATABASES,
|
||||
DEBUG,
|
||||
DEFAULT_AUTO_FIELD,
|
||||
DEFAULT_FROM_EMAIL,
|
||||
INSTALLED_APPS,
|
||||
LANGUAGE_CODE,
|
||||
LOGGING,
|
||||
|
@ -34,6 +35,11 @@ from .prod import (
|
|||
WSGI_APPLICATION,
|
||||
)
|
||||
|
||||
# Email
|
||||
# https://docs.djangoproject.com/en/4.2/topics/email/
|
||||
|
||||
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
||||
|
||||
# Testing
|
||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#test-runner
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue