more settings for production
This commit is contained in:
parent
21488ef3c1
commit
40372a0945
4 changed files with 9 additions and 3 deletions
|
@ -4,7 +4,7 @@ purpose: gather data from intern(WMDE) and extern(volunteers) forms to create a
|
||||||
|
|
||||||
## Should be executed daily
|
## Should be executed daily
|
||||||
|
|
||||||
python manage.py sendmails
|
python3 manage.py sendmails
|
||||||
|
|
||||||
## versions used in development
|
## versions used in development
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@ from pathlib import Path
|
||||||
|
|
||||||
from django.core.exceptions import ImproperlyConfigured
|
from django.core.exceptions import ImproperlyConfigured
|
||||||
|
|
||||||
|
# prefix for urls in mails
|
||||||
|
URLPREFIX = 'http://localhost:8000'
|
||||||
|
|
||||||
# mails in development go to stdout
|
# mails in development go to stdout
|
||||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,10 @@ EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||||
EMAIL_HOST = '10.0.6.25'
|
EMAIL_HOST = '10.0.6.25'
|
||||||
EMAIL_PORT = '25'
|
EMAIL_PORT = '25'
|
||||||
|
|
||||||
|
# prefix for urls in mails
|
||||||
|
URLPREFIX = 'http://foerderung.wikimedia.de'
|
||||||
|
|
||||||
|
|
||||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# mail for IF-OTRS
|
# mail for IF-OTRS
|
||||||
IF_EMAIL = 'if-test@wikimedia.de'
|
IF_EMAIL = 'communitys@wikimedia.de'
|
||||||
|
|
||||||
# prefix for urls
|
# prefix for urls
|
||||||
URLPREFIX = 'http://127.0.0.1:8000'
|
|
||||||
SURVEYPREFIX = 'https://wikimedia.sslsurvey.de/Foerderbarometer/?'
|
SURVEYPREFIX = 'https://wikimedia.sslsurvey.de/Foerderbarometer/?'
|
||||||
|
|
||||||
# some links
|
# some links
|
||||||
|
|
Loading…
Reference in a new issue