Browse Source

set email production settings

master
Benni Baermann 4 years ago
parent
commit
21488ef3c1
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      foerderbarometer/settings_production.py

+ 4
- 1
foerderbarometer/settings_production.py View File

@ -17,7 +17,10 @@ from pathlib import Path
from django.core.exceptions import ImproperlyConfigured
# mails in development go to stdout
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = '10.0.6.25'
EMAIL_PORT = '25'
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent

Loading…
Cancel
Save