Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 14

"""

Django settings for asgard project.

Generated by 'django-admin startproject' using Django 1.9.1.

For more information on this file, see


https://docs.djangoproject.com/en/1.9/topics/settings/

For the full list of settings and their values, see


https://docs.djangoproject.com/en/1.9/ref/settings/
"""

import os
import raven
from utilidades.const import JS_URLS

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)


BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# Quick-start development settings - unsuitable for production


# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!


SECRET_KEY = 'e3a%1y%^r*+-v0!s+eqf9=5+hdf!=0upycxz@j_k^)2f2zvgom'
ADMIN_PASSWORD =
'pbkdf2_sha256$120000$FS6FgsyhN8op$W3zmln/L6rA2HMiMUZsnXkNMKqK+iZolLvhEeO1zW9I='
# ADMIN_PASSWORD =
'pbkdf2_sha256$120000$13itTcOS2lc9$zWqS7/feD7KPEw4B71wUPr6n1x+jWcRaDdwk8mo876g='
#Uwigo.2020
#b6JMzEGrZGCmUwg$

# pbkdf2_sha256$120000$cy9nDgFPd5yh$emGrQzaavJovV6SAoq2Hjs4cFgS+1CiSmDv5OTc5yQ4=

# SECURITY WARNING: don't run with debug turned on in production!


DEBUG = True
PRODUCTIVO = False

ALLOWED_HOSTS = []

AUTH_USER_MODEL = 'central.User'

# Application definition

# INSTALLED_APPS = [
# 'django.contrib.admin',
# 'django.contrib.auth',
# 'django.contrib.contenttypes',
# 'django.contrib.sessions',
# 'django.contrib.messages',
# 'django.contrib.staticfiles',
# 'raven.contrib.django.raven_compat',
# 'django_summernote',
# 'django_crontab',
# 'avatar',
# 'simple_history',
# 'authenticate.apps.AuthenticateConfig',
# 'parametros.apps.ParametrosConfig',
# 'contabilidad.apps.ContabilidadConfig',
# 'facturacion.apps.FacturacionConfig',
# 'documentos.apps.DocumentosConfig',
# 'tesoreria.apps.TesoreriaConfig',
# 'central.apps.CentralConfig',
# 'permisos.apps.PermisosConfig',
# 'core.apps.CoreConfig',
# 'nomina',
# 'viewer',
# 'utilidades',
# 'administracion',
# 'js_urls',
# 'rest_framework',
# 'rest_framework.authtoken',
# 'djoser',
# 'rest_auth',
# 'api_mobile',
# ]

# SESSION_COOKIE_DOMAIN = '.uwigo.com'

MIDDLEWARE = [
'django_prometheus.middleware.PrometheusBeforeMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'simple_history.middleware.HistoryRequestMiddleware',
'django_prometheus.middleware.PrometheusAfterMiddleware',
]

ROOT_URLCONF = 'asgard.urls'

APPEND_SLASH = True

print(os.path.join(BASE_DIR, 'templates'))
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'utilidades.views.globs',
'utilidades.views.token_mixpanel',
],
},
},
]

# Databases
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
# DATABASE_APPS_MAPPING = {
# 'contenttypes' : 'central',
# 'auth' : 'central',
# 'admin' : 'central',
# 'sessions' : 'central',
# 'messages' : 'central',
# 'staticfiles' : 'central',
# 'central' : 'central',
# 'avatar' : 'central',
# 'contabilidad' : 'asgard',
# 'documentos' : 'asgard',
# 'facturacion' : 'asgard',
# 'parametros' : 'asgard',
# 'permisos' : 'asgard',
# 'tesoreria' : 'asgard',
# 'django_summernote' : 'asgard',
# 'nomina' : 'nomina',
# 'administracion' : 'central',
# 'authtoken' : 'central',
# }

DATABASE_APPS_MAPPING = {
'contenttypes' : 'central',
'auth' : 'central',
'admin' : 'central',
'sessions' : 'central',
'messages' : 'central',
'staticfiles' : 'central',
'central' : 'central',
'avatar' : 'central',
'authtoken' : 'central',
'contabilidad' : 'asgard',
'documentos' : 'asgard',
'facturacion' : 'asgard',
'parametros' : 'asgard',
'permisos' : 'asgard',
'administracion' : 'central',
'tesoreria' : 'asgard',
'nomina' : 'nomina',
'django_summernote' : 'asgard'
}
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'raven.contrib.django.raven_compat',
'django_summernote',
'django_crontab',
'avatar',
'rest_framework',
'simple_history',
'authenticate.apps.AuthenticateConfig',
'parametros.apps.ParametrosConfig',
'contabilidad.apps.ContabilidadConfig',
'administracion.apps.AdministracionConfig',
'facturacion.apps.FacturacionConfig',
'documentos.apps.DocumentosConfig',
'tesoreria.apps.TesoreriaConfig',
'central.apps.CentralConfig',
'permisos.apps.PermisosConfig',
'core.apps.CoreConfig',
'nomina.apps.NominaConfig',
'viewer',
'utilidades',
'js_urls',
'djoser',
'rest_auth',
'api_mobile',
'django_prometheus'
]

DATABASE_ROUTERS = ['asgard.db_routes.integrationRouter',]

# Local
# DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3',
# 'USER' : 'elias',
# 'PASSWORD' : '123456',
# 'HOST' : 'localhost',
# 'PORT' : '5432',
# },
# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_l',
# 'USER' : 'elias',
# 'PASSWORD' : '123456',
# 'HOST' : 'localhost',
# 'PORT' : '5432',
# },
# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_l',
# 'USER' : 'elias',
# 'PASSWORD' : '123456',
# 'HOST' : 'localhost',
# 'PORT' : '5432',
# },
# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_l',
# 'USER' : 'elias',
# 'PASSWORD' : '123456',
# 'HOST' : 'localhost',
# 'PORT' : '5432',
# }
# }

# DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# },
# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# },
# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# },
# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# }
# }

# # PRODUCTIVO
DATABASES = {
'default': {
'ENGINE' : 'django.db.backends.postgresql_psycopg2',
'NAME' : 'db3',
'USER' : 'asgard',
'PASSWORD' : 'Vitacura.234.1!',
'HOST' : '10.132.212.19',
'PORT' : '5432',
},
'central': {
'ENGINE' : 'django.db.backends.postgresql_psycopg2',
'NAME' : 'central',
'USER' : 'asgard',
'PASSWORD' : 'Vitacura.234.1!',
'HOST' : '10.132.212.19',
'PORT' : '5432',
},
'asgard': {
'ENGINE' : 'django.db.backends.postgresql_psycopg2',
'NAME' : 'asgard',
'USER' : 'asgard',
'PASSWORD' : 'Vitacura.234.1!',
'HOST' : '10.132.212.19',
'PORT' : '5432',
},
'nomina': {
'ENGINE' : 'django.db.backends.postgresql_psycopg2',
'NAME' : 'nomina',
'USER' : 'asgard',
'PASSWORD' : 'Vitacura.234.1!',
'HOST' : '10.132.212.19',
'PORT' : '5432',
}
}

# DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3',
# 'USER' : 'asgard',
# 'PASSWORD' : 'Vitacura.234.1!',
# 'HOST' : '10.132.212.24',
# 'PORT' : '5432',
# },
# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central',
# 'USER' : 'asgard',
# 'PASSWORD' : 'Vitacura.234.1!',
# 'HOST' : '10.132.212.24',
# 'PORT' : '5432',
# },
# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard',
# 'USER' : 'asgard',
# 'PASSWORD' : 'Vitacura.234.1!',
# 'HOST' : '10.132.212.24',
# 'PORT' : '5432',
# },
# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina',
# 'USER' : 'asgard',
# 'PASSWORD' : 'Vitacura.234.1!',
# 'HOST' : '10.132.212.24',
# 'PORT' : '5432',
# }
# }

# DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3_remake',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },
# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_daniel',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },
# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_daniel',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },
# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_daniel',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# }
# }

# DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# },
# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# },
# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# },
# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.25',
# 'PORT' : '5432',
# }
# }

# PRODUCTIVO QA
# DATABASES = {

# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '192.168.237.7',
# 'PORT' : '5432',
# },

# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '192.168.237.7',
# 'PORT' : '5432',
# },

# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '192.168.237.7',
# 'PORT' : '5432',
# },

# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_copiaproduc',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '192.168.237.7',
# 'PORT' : '5432',
# }

# }

# # QA
# DATABASES = {

# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3_release',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },

# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_release',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },

# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_release',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },

# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_release',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# }

# }

# DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3_djcoderelease',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.28',
# 'PORT' : '5432',
# },
# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_djcoderelease',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.28',
# 'PORT' : '5432',
# },
# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_djcoderelease',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.28',
# 'PORT' : '5432',
# },
# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_djcoderelease',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.28',
# 'PORT' : '5432',
# }
# }

#
# DATABASES = {
#
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'db3_remake',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },
#
# 'central': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'central_remake',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },
#
# 'asgard': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'asgard_remake',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# },
#
# 'nomina': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'nomina_remake',
# 'USER' : 'asgard',
# 'PASSWORD' : '12341234',
# 'HOST' : '10.132.212.21',
# 'PORT' : '5432',
# }
#
# }

REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.TokenAuthentication',
'rest_framework_simplejwt.authentication.JWTAuthentication',
)
}

SIMPLE_JWT = {
'AUTH_HEADER_TYPES': ('Bearer',),
}

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '%(levelname)s %(asctime)s %(module)s %(funcName)s %(lineno)d
%(name)s %(message)s'
},
},
'handlers': {
'default': {
'level': 'INFO',
'class': 'logging.handlers.RotatingFileHandler',
'filename': BASE_DIR+'/public/media/log/informat.log',
'formatter': 'verbose',
'maxBytes': 1024*1024*100,
'backupCount': 10,
},
'cron': {
'level': 'INFO',
'class': 'logging.handlers.RotatingFileHandler',
'filename': BASE_DIR+'/public/media/log/cron.log',
'formatter': 'verbose',
'maxBytes': 1024*1024*100,
'backupCount': 10,
},
# 'sentry': {
# 'level': 'INFO',
# 'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
# 'tags': {'custom-tag': 'x'},
# },
},
# 'loggers': {
# 'django': {
# 'handlers': ['default'], #, 'sentry'
# 'level': 'INFO',
# 'propagate': True,
# },
# 'crontab': {
# 'handlers': ['cron'], #, 'sentry'
# 'level': 'INFO',
# 'propagate': True,
# },
# },
}

WSGI_APPLICATION = 'asgard.wsgi.application'

# Password validation
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
{

'NAME':'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
#Editor summernote

SUMMERNOTE_CONFIG = {
# Using SummernoteWidget - iframe mode
'iframe': True, # or set False to use SummernoteInplaceWidget - no iframe mode

# Using Summernote Air-mode


'airMode': False,

# Use native HTML tags (`<b>`, `<i>`, ...) instead of style attributes
# (Firefox, Chrome only)
'styleWithTags': True,

# Set text direction : 'left to right' is default.


'direction': 'ltr',

# Change editor size


'width': '100%',
'height': '256',

# Use proper language setting automatically (default)


'lang': 'es-CL',

# Customize toolbar buttons


'toolbar': [
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph', 'style']],
['insert', ['picture', 'table', 'hr']]
],

# Need authentication while uploading attachments.


'attachment_require_authentication': True,

# Set `upload_to` function for attachments.


#'attachment_upload_to': my_custom_upload_to_func(),

# Set custom storage class for attachments.


#'attachment_storage_class': 'my.custom.storage.class.name',

# Set custom model for attachments (default: 'django_summernote.Attachment')


#'attachment_model': 'my.custom.attachment.model', # must inherit
'django_summernote.AbstractAttachment'

# Set external media files for SummernoteInplaceWidget.


# !!! Be sure to put {{ form.media }} in template before initiate summernote.
'inplacewidget_external_css': (
'//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css',
'//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css',
),

'inplacewidget_external_js': (
'//code.jquery.com/jquery-1.9.1.min.js',
'//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js',
),
}
# Configuracion CRON
CRONJOBS = [
# ('*/5 * * * *', 'asgard.cron.estadistica_contadores_uwigo')
# ('*/2 * * * *', 'asgard.cron.documento_recurrencia'),
('*/5 * * * *', 'asgard.cron.documento_recurrencia'),
# ('0 8 * * *', 'asgard.cron.update_currency'),
# ('* 8 * * *', 'asgard.cron.actualiza_usuarios_uwigo')
# ('* * * * *', 'asgard.cron.estado_licencia_uwigo')
]

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

# Internationalization
# https://docs.djangoproject.com/en/1.9/topics/i18n/

LANGUAGE_CODE = 'es'

TIME_ZONE = 'America/Santiago'

USE_I18N = True

USE_L10N = True

USE_TZ = False

# Static files (CSS, JavaScript, Images)


# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'public', 'static')
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
)

LOGIN_URL = 'login/'
LOGOUT_URL = 'logout/'
DATA_UPLOAD_MAX_NUMBER_FIELDS=5000

MEDIA_ROOT = os.path.join(BASE_DIR,'public', 'media')


MEDIA_URL = '/media/'

ITEM_PAGINA = 25
MAX_SIZE_CODE = 6
FORMAT_CODE = '99.99.99'
NUMBER_DECIMALS= 2

# EMAIL_USE_TLS = True
# EMAIL_HOST = 'smtp.gmail.com'
# EMAIL_PORT = 25
# EMAIL_HOST_USER = 'juan.mieres.pruebas@gmail.com'
# EMAIL_HOST_PASSWORD = 'juanprueba'
# EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

# EMAIL_USE_TLS = True
# EMAIL_HOST = 'smtp.office365.com'
# EMAIL_PORT = 587
# EMAIL_HOST_USER = 'soporte@informat.cl'
# EMAIL_HOST_PASSWORD = 'rkt=HdGXf0*2#'

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.office365.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'noreply@uwigo.com'
EMAIL_HOST_PASSWORD = 'Run026109'

FINTOC_PUBLIC_KEY = 'pk_live_1mLo7fccgUhV2TEYfzonwnEywbEbZzxv'
FINTOC_SECRET_KEY = 'sk_live_rHyLWYo2iGsyR5bwX_yVZsSz4eW4umjS'
EMAIL_PLATAFORMA = ['plataforma@uwigo.com']
URL_ONECLICK = 'https://oneclick.uwigo.com/webpay/'
URL_WEBPAY = 'http://127.0.0.1:9000/webpay/'
# URL_WEBPAY = 'https://webpay.uwigo.com/webpay/'

SESSION_ENGINE = 'central.sessions'
TOKEN_MIXPANEL = ''

You might also like