From 28c46a593ad74fb5a92031bee93f46cf83ac51d6 Mon Sep 17 00:00:00 2001 From: Kuroshini Date: Mon, 4 Nov 2019 16:19:08 +0300 Subject: [PATCH] Revert "Production settings" This reverts commit d493c5f --- project/settings/production.py | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/project/settings/production.py b/project/settings/production.py index 9f2ea62e..b7ddc401 100644 --- a/project/settings/production.py +++ b/project/settings/production.py @@ -8,36 +8,3 @@ GUESTONLINE_TOKEN = '' LASTABLE_SERVICE = '' LASTABLE_TOKEN = '' LASTABLE_PROXY = '' - - -ALLOWED_HOSTS = ['api.gaultmillau.com', '95.213.204.126', '0.0.0.0'] - -CSRF_TRUSTED_ORIGINS = ['.next.gaultmillau.com', ] - -SEND_SMS = False -SMS_CODE_SHOW = True -USE_CELERY = True - -SCHEMA_URI = 'https' -DEFAULT_SUBDOMAIN = 'www' -SITE_DOMAIN_URI = 'next.gaultmillau.com' -DOMAIN_URI = 'next.gaultmillau.com' - - -# ELASTICSEARCH SETTINGS -ELASTICSEARCH_DSL = { - 'default': { - 'hosts': 'elasticsearch' - } -} - - -ELASTICSEARCH_INDEX_NAMES = { - 'search_indexes.documents.news': 'prod_news', # temporarily disabled - 'search_indexes.documents.establishment': 'prod_establishment', -} - - -# TMP ( TODO remove it later) -# Временный хардкод для демонстрации 4 ноября, потом удалить! -HARDCODED_INTERNATIONAL_NEWS_IDS = [8, 9, 10, 11, 15, 17] \ No newline at end of file