update django verstion and libraries

This commit is contained in:
2020-06-10 12:50:59 +02:00
parent 1ef59b3517
commit 81b41142d4
29 changed files with 6291 additions and 5000 deletions

View File

@@ -1,9 +1,9 @@
import os
SECRET_KEY = '@-9++2z_6%^vr(f0wax0aq8-pd@0u$*))w!5l^sv#wxrn7k!v-'
DEBUG = True
ALLOWED_HOSTS = ['carom-dev.einsle.de']
ADMINS = [('Robert Einsle', 'robert@einsle.de'),]
DEBUG = False
ALLOWED_HOSTS = ['*']
ADMINS = [
('Robert Einsle', 'robert@einsle.de'),
]
DATABASES = {
'default': {
@@ -14,20 +14,20 @@ DATABASES = {
'HOST': '127.0.0.1',
'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
},
},
}
}
STATIC_ROOT = "/srv/carom-dev/carom-server/staticfiles/"
STATIC_ROOT = "/srv/../staticfiles/"
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'mail.einsle.de'
EMAIL_HOST = 'mail.server.tld'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'relay@einsle.de'
EMAIL_HOST_PASSWORD = 'Boaghi0thaiH'
EMAIL_HOST_USER = 'username'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = "webmaster@einsle.de"
DEFAULT_FROM_EMAIL = "noreply@carom.de"
URL_LOCATION_PROCESSOR = 'https://carom-dev.einsle.de/billard/process_locationdata'
URL_LOCATION_PROCESSOR = 'https://<carom-server-tld>/billard/process_locationdata'
PRODUCT_INFO = 'carom-dev'
PRODUCT_INFO = 'carom'