37 lines
811 B
Python
37 lines
811 B
Python
"""Development settings."""
|
|
from .base import *
|
|
from .amazon_s3 import *
|
|
import sentry_sdk
|
|
from sentry_sdk.integrations.django import DjangoIntegration
|
|
|
|
ALLOWED_HOSTS = ['gm.id-east.ru', '95.213.204.126', '0.0.0.0']
|
|
|
|
SEND_SMS = False
|
|
SMS_CODE_SHOW = True
|
|
USE_CELERY = False
|
|
|
|
SCHEMA_URI = 'http'
|
|
DEFAULT_SUBDOMAIN = 'www'
|
|
SITE_DOMAIN_URI = 'id-east.ru'
|
|
DOMAIN_URI = 'gm.id-east.ru'
|
|
|
|
|
|
# ELASTICSEARCH SETTINGS
|
|
ELASTICSEARCH_DSL = {
|
|
'default': {
|
|
'hosts': 'localhost:9200'
|
|
}
|
|
}
|
|
|
|
|
|
ELASTICSEARCH_INDEX_NAMES = {
|
|
# 'search_indexes.documents.news': 'development_news', # temporarily disabled
|
|
'search_indexes.documents.establishment': 'development_establishment',
|
|
}
|
|
|
|
|
|
sentry_sdk.init(
|
|
dsn="https://35d9bb789677410ab84a822831c6314f@sentry.io/1729093",
|
|
integrations=[DjangoIntegration()]
|
|
)
|