Skip to content
Snippets Groups Projects
Commit e07b3149 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

cleaning of the configuration parameters

parent 90334b07
No related branches found
No related tags found
1 merge request!271Resolve "clean configuration"
Pipeline #34269 failed
......@@ -17,14 +17,8 @@ DATABASES = {
STATIC_ROOT = '/usr/lib/smasch/data/static'
MEDIA_ROOT = '/usr/lib/smasch/data/media'
LOGIN_PAGE_BACKGROUND_IMAGE = 'background.jpg' # Path to a static file containing background image, used in login.html
ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
NEXMO_API_KEY = 'API_KEY'
NEXMO_API_SECRET = 'API_SECRET'
NEXMO_DEFAULT_FROM = 'Scheduling' # the sender of the message (phone number or text)
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
......@@ -61,3 +55,4 @@ LOGGING = {
},
}
TWO_FACTOR_SMS_GATEWAY = "web.nexmo_gateway.Nexmo"
......@@ -28,10 +28,4 @@ DATABASES = {
STATIC_ROOT = '/tmp/static' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one; e.g. ~/tmp/static
MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one, e.g. ~/tmp/media
LOGIN_PAGE_BACKGROUND_IMAGE = 'background.jpg' # Path to a static file containing background image, used in login.html
ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
NEXMO_API_KEY = 'API_KEY'
NEXMO_API_SECRET = 'API_SECRET'
NEXMO_DEFAULT_FROM = 'Scheduling' # the sender of the message (phone number or text)
......@@ -17,10 +17,4 @@ DATABASES = {
STATIC_ROOT = '/tmp/static' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one; e.g. ~/tmp/static
MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one, e.g. ~/tmp/media
LOGIN_PAGE_BACKGROUND_IMAGE = 'background.jpg' # Path to a static file containing background image, used in login.html
ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
NEXMO_API_KEY = 'API_KEY'
NEXMO_API_SECRET = 'API_SECRET'
NEXMO_DEFAULT_FROM = 'Scheduling' # the sender of the message (phone number or text)
......@@ -11,12 +11,8 @@ EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 25
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_FROM_EMAIL = 'prc-scheduling-admin@uni.lu'
ALLOWED_HOSTS = ['prc.parkinson.lu', 'localhost']
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
ALLOWED_HOSTS = ['your.domain.com', 'localhost']
DATABASES = {
'default': {
......@@ -33,12 +29,15 @@ DATABASES = {
}
}
STATIC_ROOT = '/tmp/static' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one; e.g. ~/tmp/static
MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one, e.g. ~/tmp/media
LOGIN_PAGE_BACKGROUND_IMAGE = 'background.jpg' # Path to a static file containing background image, used in login.html
NEXMO_DEFAULT_FROM = 'Scheduling' # the sender of the message (phone number or text)
# Warning! `/tmp` directory can be flushed in any moment;
# use a persistent one; e.g. ~/tmp/static
STATIC_ROOT = '~/tmp/static'
# Warning! `/tmp` directory can be flushed in any moment;
# use a persistent one, e.g. ~/tmp/media
MEDIA_ROOT = '~/tmp/media'
# Warning! `/tmp` directory can be flushed in any moment;
# use a persistent one, e.g. ~/tmp/upload
UPLOAD_ROOT = '~/tmp/upload'
LOGGING = {
'version': 1,
......@@ -75,3 +74,5 @@ LOGGING = {
},
},
}
TWO_FACTOR_SMS_GATEWAY = "web.nexmo_gateway.Nexmo"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment