Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- # Use this file as a basis for your local settings file.
- # If you name it 'local.py', it will be used as the project's settings
- # file automatically.
- # If you use a different name or folder, set the DJANGO_SETTINGS_MODULE
- # environment variable
- # to point to it (in Python dotted format).
- # Pick one of the base settings files below, and remove the other lines:
- # from production import * # @UnusedWildImport
- # from hml import * # @UnusedWildImport
- # from dev import * # @UnusedWildImport
- from development import * # @UnusedWildImport
- # from test import * # @UnusedWildImport
- DATABASES = {
- 'default': {
- # Database Master
- # 'NAME': 'logada_master',
- # Database for register_simplification
- 'NAME': 'oramadb',
- # Database for B2B
- # 'NAME': 'b2b',
- # Database for informe_de_rendimentos
- # 'NAME': 'informe_rendimentos',
- # Database for new_advisor_tool
- # 'NAME': 'new_advisor_tool',
- 'ENGINE': 'django.db.backends.mysql',
- 'USER': 'root',
- 'PASSWORD': 'root',
- 'HOST': 'localhost',
- 'PORT': '3306',
- 'OPTIONS': {"init_command": "SET storage_engine=INNODB"}
- },
- 'cep': {
- 'NAME': 'cep',
- 'ENGINE': 'django.db.backends.mysql',
- 'USER': 'root',
- 'PASSWORD': 'root',
- 'HOST': 'localhost',
- 'PORT': '3306',
- 'OPTIONS': {"init_command": "SET storage_engine=INNODB"}
- },
- 'fundos': {
- 'NAME': 'fundos',
- 'ENGINE': 'django.db.backends.mysql',
- 'USER': 'root',
- 'PASSWORD': 'root',
- 'HOST': 'localhost',
- 'PORT': '3306',
- 'OPTIONS': {"init_command": "SET storage_engine=INNODB"}
- }
- }
- # URL settings (optional).
- # HOST_NAME = '192.168.15.74:3000' # Only change if your instance uses a
- # HOST_NAME = 'dev.orama.com.br:3000' # Only change if your instance uses a
- # hostname different than 'localhost'.
- # Database settings (required for all instances).
- # DATABASES = db_config(main_schema, cep_schema, ambima_schema,
- # username, password, host)
- # Email settings (required for development instances).
- # Developer instances should set the catch-all address to avoid having
- # mail sent to the whole development team.
- DETOUR_EMAIL_ADDRESS = 'julio <julio.marins@developers.orama.com.br>'
- # Enable conditional features (optional).
- # FEATURE_TOGGLES['xyz'] = True
- # Add other local settings here as required.
- # Email settings.
- # All instances (except production) should set a custom sender name to it
- # easier to distinguish where test email came from.
- EMAIL_FROM_ADDRESS = 'julio <julio.marins@developers.orama.com.br>'
- # Developer instances should set the catch-all address to avoid having
- # mail sent to the whole development team.
- DETOUR_EMAIL_ADDRESS = 'julio <julio.marins@developers.orama.com.br>'
- # Enable conditional features (optional).
- FEATURE_TOGGLES['xyz'] = True
- CACHES = {
- 'default': {
- 'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
- 'LOCATION': 'orama_web'
- }
- }
- DISABLE_REGISTRATION_PDF_RENDER = True
- EMAIL_HOST = 'smtp.gmail.com'
- # Redefine this in the local settings file.
- EMAIL_HOST_USER = 'julio.marins@developers.orama.com.br'
- EMAIL_HOST_PASSWORD = 'binah418' # Redefine this in the local settings file.
- EMAIL_USE_TLS = True
- EMAIL_PORT = 587
- # Use these variables to run server locally, but with pre configurations
- # WSGI_APPLICATION = 'orama_web.wsgi_dev.application'
- ADMINS = (
- ('julio', 'julio.marins@developers.orama.com.br'),
- )
- MANAGERS = ADMINS
- # AWS_ACCESS_KEY_ID = 'AKIAJCZP43JF4WTRZT7A'
- # AWS_SECRET_ACCESS_KEY = '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'
- # INSTALLED_APPS = [elem for elem in INSTALLED_APPS
- # if elem != 'keyerror_django_client']
- ADMIN_HOST_NAME = 'localhost:3000'
- # WKHTMLTOPDF_PATH = 'C:/Program Files/wkhtmltopdf/bin/wkhtmltopdf.exe'
- WKHTMLTOPDF_PATH = 'wkhtmltopdf'
- CORS_ORIGIN_REGEX_WHITELIST = ('http://localhost:8000')
- CORS_URLS_REGEX = '^.*$'
- STATICFILES_DIRS += (
- os.path.join(PROJECT_DIR, 'orama_web/webapps/webapp/static-dev'),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement