28 lines
715 B
Plaintext
28 lines
715 B
Plaintext
# =============================
|
|
# Database config
|
|
|
|
DB_NAME=dj_lms
|
|
DB_USER=postgres
|
|
DB_PASSWORD=pass123
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
|
|
# =============================
|
|
# Email config
|
|
|
|
# For development or quick testing use console as the email backend
|
|
EMAIL_BACKEND="django.core.mail.backends.console.EmailBackend"
|
|
# For production use smtp, uncomment the below variable
|
|
# EMAIL_BACKEND="django.core.mail.backends.smtp.EmailBackend"
|
|
EMAIL_HOST="smtp.gmail.com"
|
|
EMAIL_PORT=587
|
|
EMAIL_USE_TLS=True
|
|
EMAIL_FROM_ADDRESS="Dj LMS <youremail@example.com>"
|
|
EMAIL_HOST_USER="<youremail@example.com>"
|
|
EMAIL_HOST_PASSWORD="<your email password>"
|
|
|
|
# =============================
|
|
# Other
|
|
|
|
DEBUG=True
|
|
SECRET_KEY="<your_secret_key>" |