· 8 years ago · Jan 18, 2018, 09:04 AM
1ConnectionError at /api/petitions/20036/
2ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8980a2d668>: Failed to establish a new connection: [Errno -2] Name or service not known) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8980a2d668>: Failed to establish a new connection: [Errno -2] Name or service not known)
3
4Request Method: PATCH
5Request URL: http://mlg4og.usetech.ru/api/petitions/20036/
6Django Version: 1.11.4
7Python Executable: /usr/local/bin/python
8Python Version: 3.6.2
9Python Path: ['/app', '/usr/local/lib/python36.zip', '/usr/local/lib/python3.6', '/usr/local/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/site-packages', '/app']
10Server time: Чт, 18 Янв 2018 11:50:43 +0300
11Installed Applications:
12['django.contrib.admin',
13 'django.contrib.auth',
14 'django.contrib.contenttypes',
15 'django.contrib.sessions',
16 'django.contrib.messages',
17 'django.contrib.staticfiles',
18 'channels',
19 'rest_framework',
20 'rest_framework_swagger',
21 'django_extensions',
22 'fsm_admin',
23 'django_permanent',
24 'nested_inline',
25 'tinymce',
26 'apps.core',
27 'apps.petition',
28 'apps.incident',
29 'apps.msed',
30 'apps.reports',
31 'apps.reports.operational_report',
32 'apps.reports.incident_report',
33 'apps.dictionary',
34 'apps.rso']
35Installed Middleware:
36['corsheaders.middleware.CorsMiddleware',
37 'django.middleware.security.SecurityMiddleware',
38 'django.contrib.sessions.middleware.SessionMiddleware',
39 'django.middleware.common.CommonMiddleware',
40 'django.middleware.csrf.CsrfViewMiddleware',
41 'django.contrib.auth.middleware.AuthenticationMiddleware',
42 'django.contrib.messages.middleware.MessageMiddleware',
43 'django.middleware.clickjacking.XFrameOptionsMiddleware']
44
45
46Traceback:
47
48File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py" in _new_conn
49 141. (self.host, self.port), self.timeout, **extra_kw)
50
51File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py" in create_connection
52 60. for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
53
54File "/usr/local/lib/python3.6/socket.py" in getaddrinfo
55 743. for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
56
57
58 During handling of the above exception ([Errno -2] Name or service not known), another exception occurred:
59
60
61
62File "/usr/local/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py" in perform_request
63 149. response = self.pool.urlopen(method, url, body, retries=False, headers=request_headers, **kw)
64
65File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py" in urlopen
66 639. _stacktrace=sys.exc_info()[2])
67
68File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py" in increment
69 333. raise six.reraise(type(error), error, _stacktrace)
70
71File "/usr/local/lib/python3.6/site-packages/urllib3/packages/six.py" in reraise
72 686. raise value
73
74File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py" in urlopen
75 601. chunked=chunked)
76
77File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py" in _make_request
78 357. conn.request(method, url, **httplib_request_kw)
79
80File "/usr/local/lib/python3.6/http/client.py" in request
81 1239. self._send_request(method, url, body, headers, encode_chunked)
82
83File "/usr/local/lib/python3.6/http/client.py" in _send_request
84 1285. self.endheaders(body, encode_chunked=encode_chunked)
85
86File "/usr/local/lib/python3.6/http/client.py" in endheaders
87 1234. self._send_output(message_body, encode_chunked=encode_chunked)
88
89File "/usr/local/lib/python3.6/http/client.py" in _send_output
90 1026. self.send(msg)
91
92File "/usr/local/lib/python3.6/http/client.py" in send
93 964. self.connect()
94
95File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py" in connect
96 166. conn = self._new_conn()
97
98File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py" in _new_conn
99 150. self, "Failed to establish a new connection: %s" % e)
100
101
102 During handling of the above exception (<urllib3.connection.HTTPConnection object at 0x7f8980a2d668>: Failed to establish a new connection: [Errno -2] Name or service not known), another exception occurred:
103
104
105
106File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
107 41. response = get_response(request)
108
109File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
110 187. response = self.process_exception_by_middleware(e, request)
111
112File "/usr/local/lib/python3.6/site-packages/channels/handler.py" in process_exception_by_middleware
113 243. return super(AsgiHandler, self).process_exception_by_middleware(exception, request)
114
115File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
116 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
117
118File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
119 58. return view_func(*args, **kwargs)
120
121File "/usr/local/lib/python3.6/site-packages/rest_framework/viewsets.py" in view
122 86. return self.dispatch(request, *args, **kwargs)
123
124File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
125 489. response = self.handle_exception(exc)
126
127File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
128 449. self.raise_uncaught_exception(exc)
129
130File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
131 486. response = handler(request, *args, **kwargs)
132
133File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py" in partial_update
134 84. return self.update(request, *args, **kwargs)
135
136File "/app/apps/utils/views.py" in update
137 284. response = super().update(request, *args, **kwargs)
138
139File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py" in update
140 70. self.perform_update(serializer)
141
142File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py" in perform_update
143 80. serializer.save()
144
145File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in save
146 210. self.instance = self.update(self.instance, validated_data)
147
148File "/app/apps/petition/serializers.py" in update
149 79. return super().update(instance, validated_data)
150
151File "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py" in update
152 955. instance.save()
153
154File "/app/apps/petition/models.py" in save
155 201. self.update_elastic_index()
156
157File "/app/apps/utils/models.py" in update_elastic_index
158 116. get_elastic_client(),
159
160File "/app/apps/petition/elastic_helpers.py" in create_or_update_document
161 15. if is_document_exists(document_id, index, doc_type, elastic_client):
162
163File "/app/apps/petition/elastic_helpers.py" in is_document_exists
164 30. elastic_client.get(index=index, doc_type=doc_type, id=document_id)
165
166File "/usr/local/lib/python3.6/site-packages/elasticsearch/client/utils.py" in _wrapped
167 76. return func(*args, params=params, **kwargs)
168
169File "/usr/local/lib/python3.6/site-packages/elasticsearch/client/__init__.py" in get
170 411. doc_type, id), params=params)
171
172File "/usr/local/lib/python3.6/site-packages/elasticsearch/transport.py" in perform_request
173 314. status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)
174
175File "/usr/local/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py" in perform_request
176 158. raise ConnectionError('N/A', str(e), e)
177
178Exception Type: ConnectionError at /api/petitions/20036/
179Exception Value: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8980a2d668>: Failed to establish a new connection: [Errno -2] Name or service not known) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8980a2d668>: Failed to establish a new connection: [Errno -2] Name or service not known)
180Request information:
181USER: npasynkov@usetech.ru
182
183GET: No GET data
184
185POST: No POST data
186
187FILES: No FILES data
188
189COOKIES: No cookie data
190
191META:
192CONTENT_LENGTH = '640'
193CONTENT_TYPE = 'application/json'
194HTTP_ACCEPT = 'application/json'
195HTTP_ACCEPT_LANGUAGE = 'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7'
196HTTP_CONNECTION = 'upgrade'
197HTTP_HOST = 'mlg4og.usetech.ru'
198HTTP_ORIGIN = 'http://mlg4og.usetech.ru'
199HTTP_REFERER = 'http://mlg4og.usetech.ru/petitions/on_clarifying/20036'
200HTTP_REVERSE_VIA = 'GW1'
201HTTP_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36'
202HTTP_X_ACCESS_TOKEN = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNTE2MzUxODI5LCJ1c2VyX2lkIjozNywidXNlcm5hbWUiOiJucGFzeW5rb3ZAdXNldGVjaC5ydSIsImlhdCI6MTUxNjI2NTQyOSwidW5pY29ybl9wb255IjoibjRjdGdwL1BqV1VnczA9In0.7M0OT1qP10NeFovEGd9DTPjQEBBigq_qH9W90fsh56Y'
203HTTP_X_FORWARDED_FOR = '91.146.50.41, 192.168.50.254'
204HTTP_X_USER_ROLE = 'operator'
205PATH_INFO = '/api/petitions/20036/'
206QUERY_STRING = ''
207REMOTE_ADDR = '172.18.0.8'
208REMOTE_HOST = '172.18.0.8'
209REMOTE_PORT = 49864
210REQUEST_METHOD = 'PATCH'
211SCRIPT_NAME = ''
212SERVER_NAME = '172.18.0.7'
213SERVER_PORT = '8000'
214wsgi.multiprocess = True
215wsgi.multithread = True
216
217Settings:
218Using settings module config.settings.production
219ABSOLUTE_URL_OVERRIDES = {}
220ADMINS = []
221ALLOWED_HOSTS = ['mlg4og.usetech.ru', '192.168.100.99']
222APPEND_SLASH = True
223AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
224AUTH_PASSWORD_VALIDATORS = '********************'
225AUTH_USER_MODEL = 'core.User'
226BASE_DIR = <Path:/app>
227CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://redis:6379/1', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}}}
228CACHE_MIDDLEWARE_ALIAS = 'default'
229CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
230CACHE_MIDDLEWARE_SECONDS = 600
231CELERY_ACCEPT_CONTENT = ['application/json']
232CELERY_BROKER_URL = 'redis://redis:6379/0'
233CELERY_RESULT_BACKEND = 'redis://redis:6379/0'
234CELERY_RESULT_SERIALIZER = 'json'
235CELERY_TASK_SERIALIZER = 'json'
236CELERY_TIMEZONE = 'Europe/Moscow'
237CHANNEL_LAYERS = {'default': {'BACKEND': 'asgi_redis.RedisChannelLayer', 'CONFIG': {'hosts': [('redis', 6379)]}, 'ROUTING': 'config.routing.channel_routing'}}
238CSRF_COOKIE_AGE = 31449600
239CSRF_COOKIE_DOMAIN = None
240CSRF_COOKIE_HTTPONLY = False
241CSRF_COOKIE_NAME = 'csrftoken'
242CSRF_COOKIE_PATH = '/'
243CSRF_COOKIE_SECURE = False
244CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
245CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
246CSRF_TRUSTED_ORIGINS = []
247CSRF_USE_SESSIONS = False
248DATABASES = {'default': {'NAME': 'postgresdevuser', 'USER': 'postgresdevuser', 'PASSWORD': '********************', 'HOST': 'postgres', 'PORT': 5432, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
249DATABASE_ROUTERS = []
250DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
251DATA_UPLOAD_MAX_NUMBER_FIELDS = 2000
252DATETIME_FORMAT = 'N j, Y, P'
253DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
254DATE_FORMAT = 'N j, Y'
255DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
256DEBUG = True
257DEBUG_PROPAGATE_EXCEPTIONS = False
258DECIMAL_SEPARATOR = '.'
259DEFAULT_CHARSET = 'utf-8'
260DEFAULT_CONTENT_TYPE = 'text/html'
261DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
262DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
263DEFAULT_FROM_EMAIL = 'webmaster@localhost'
264DEFAULT_INDEX_TABLESPACE = ''
265DEFAULT_TABLESPACE = ''
266DISALLOWED_USER_AGENTS = []
267DJANGO_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles']
268DOCX_UNZIP_TMP_DIR = '/tmp/docx_carantine/'
269ELASTIC_URL = 'http://elastic:9200'
270EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
271EMAIL_FROM = 'ecur@usetech.ru'
272EMAIL_HOST = 'mail.usetech.ru'
273EMAIL_HOST_PASSWORD = '********************'
274EMAIL_HOST_USER = 'ecur@usetech.ru'
275EMAIL_PORT = '25'
276EMAIL_SSL_CERTFILE = None
277EMAIL_SSL_KEYFILE = '********************'
278EMAIL_SUBJECT_PREFIX = '[Django] '
279EMAIL_TIMEOUT = None
280EMAIL_USE_LOCALTIME = False
281EMAIL_USE_SSL = False
282EMAIL_USE_TLS = True
283FILE_CHARSET = 'utf-8'
284FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
285FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
286FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
287FILE_UPLOAD_PERMISSIONS = None
288FILE_UPLOAD_TEMP_DIR = None
289FIRST_DAY_OF_WEEK = 0
290FIXTURE_DIRS = []
291FORCE_SCRIPT_NAME = None
292FORMAT_MODULE_PATH = None
293FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
294IGNORABLE_404_URLS = []
295INCIDENT_DOC_TYPE = 'incidents'
296INCIDENT_INDEX = 'incidents'
297INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'channels', 'rest_framework', 'rest_framework_swagger', 'django_extensions', 'fsm_admin', 'django_permanent', 'nested_inline', 'tinymce', 'apps.core', 'apps.petition', 'apps.incident', 'apps.msed', 'apps.reports', 'apps.reports.operational_report', 'apps.reports.incident_report', 'apps.dictionary', 'apps.rso']
298INTERNAL_IPS = []
299JWT_ACCESS_EXPIRATION_DELTA = datetime.timedelta(1)
300JWT_REFRESH_EXPIRATION_DELTA = datetime.timedelta(2)
301LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
302LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
303LANGUAGE_CODE = 'ru-RU'
304LANGUAGE_COOKIE_AGE = None
305LANGUAGE_COOKIE_DOMAIN = None
306LANGUAGE_COOKIE_NAME = 'django_language'
307LANGUAGE_COOKIE_PATH = '/'
308LOCALE_PATHS = []
309LOCAL_APPS = ['apps.core', 'apps.petition', 'apps.incident', 'apps.msed', 'apps.reports', 'apps.reports.operational_report', 'apps.reports.incident_report', 'apps.dictionary', 'apps.rso']
310LOGGING = {}
311LOGGING_CONFIG = 'logging.config.dictConfig'
312LOGIN_REDIRECT_URL = '/accounts/profile/'
313LOGIN_URL = '/accounts/login/'
314LOGOUT_REDIRECT_URL = None
315MANAGERS = []
316MEDIA_ROOT = '/app/media'
317MEDIA_URL = '/media/'
318MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
319MIDDLEWARE = ['corsheaders.middleware.CorsMiddleware', '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', 'django.middleware.clickjacking.XFrameOptionsMiddleware']
320MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
321MIGRATION_MODULES = {}
322MONTH_DAY_FORMAT = 'F j'
323NOTIFICATION_MESSAGE_KEY_PREFIX = '********************'
324NOTIFICATION_MESSAGE_TTL = 172800
325NOTIFICATION_TASK_LOCK_KEY = '********************'
326NOTIFICATION_TASK_MAX_MESSAGES = 100
327NUMBER_GROUPING = 0
328PASSWORD_HASHERS = '********************'
329PASSWORD_RESET_TIMEOUT_DAYS = '********************'
330PETITION_DOC_TYPE = 'petitions'
331PETITION_INDEX = 'petitions'
332PREPEND_WWW = False
333RAVEN_CONFIG = {'CELERY_LOGLEVEL': 20, 'DSN': ''}
334READ_DOT_ENV_FILE = False
335REST_FRAMEWORK = {'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.AllowAny'], 'DEFAULT_AUTHENTICATION_CLASSES': ('apps.core.authentication.CombinedAuthentication',), 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend', 'rest_framework.filters.OrderingFilter'), 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'PAGE_SIZE': 10}
336ROOT_URLCONF = 'config.urls'
337RSO_SERVER_DICT_ENDPOINT = ''
338RSO_SERVER_PETITION_ENDPOINT = ''
339SECRET_KEY = '********************'
340SECURE_BROWSER_XSS_FILTER = False
341SECURE_CONTENT_TYPE_NOSNIFF = False
342SECURE_HSTS_INCLUDE_SUBDOMAINS = False
343SECURE_HSTS_PRELOAD = False
344SECURE_HSTS_SECONDS = 0
345SECURE_PROXY_SSL_HEADER = None
346SECURE_REDIRECT_EXEMPT = []
347SECURE_SSL_HOST = None
348SECURE_SSL_REDIRECT = False
349SENTRY_CLIENT = 'raven.contrib.django.raven_compat.DjangoClient'
350SENTRY_DSN = ''
351SERVER_EMAIL = 'root@localhost'
352SESSION_CACHE_ALIAS = 'default'
353SESSION_COOKIE_AGE = 1209600
354SESSION_COOKIE_DOMAIN = None
355SESSION_COOKIE_HTTPONLY = True
356SESSION_COOKIE_NAME = 'sessionid'
357SESSION_COOKIE_PATH = '/'
358SESSION_COOKIE_SECURE = False
359SESSION_ENGINE = 'django.contrib.sessions.backends.db'
360SESSION_EXPIRE_AT_BROWSER_CLOSE = False
361SESSION_FILE_PATH = None
362SESSION_SAVE_EVERY_REQUEST = False
363SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
364SETTINGS_MODULE = 'config.settings.production'
365SHORT_DATETIME_FORMAT = 'm/d/Y P'
366SHORT_DATE_FORMAT = 'm/d/Y'
367SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
368SILENCED_SYSTEM_CHECKS = []
369SMS_PASSWORD = '********************'
370SMS_URL = 'http://cab.websms.ru/http_in6.asp?{}&format=xml'
371SMS_USERNAME = 'medialogia'
372STATICFILES_DIRS = []
373STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
374STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
375STATIC_ROOT = '/app/static'
376STATIC_URL = '/static/'
377SWAGGER_SETTINGS = {'LOGIN_URL': 'rest_framework:login', 'LOGOUT_URL': 'rest_framework:logout'}
378SYNC_DATA_WITH_ELASTIC = True
379TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/app/templates', '/app/static'], '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']}}]
380TEST_NON_SERIALIZED_APPS = []
381TEST_RUNNER = 'django.test.runner.DiscoverRunner'
382THIRD_PARTY_APPS = ['channels', 'rest_framework', 'rest_framework_swagger', 'django_extensions', 'fsm_admin', 'django_permanent', 'nested_inline', 'tinymce']
383THOUSAND_SEPARATOR = ','
384TIME_FORMAT = 'P'
385TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
386TIME_ZONE = 'Europe/Moscow'
387TINYMCE_DEFAULT_CONFIG = {'theme': 'advanced', 'width': 800, 'height': 400, 'theme_advanced_buttons1': 'bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,', 'theme_advanced_buttons2': 'bullist,numlist,|,undo,redo,|,cleanup,help,code'}
388USE_ETAGS = False
389USE_I18N = True
390USE_L10N = True
391USE_THOUSAND_SEPARATOR = False
392USE_TZ = True
393USE_X_FORWARDED_HOST = False
394USE_X_FORWARDED_PORT = False
395VPN_PROXY = 'http://192.168.100.99:3128'
396WSGI_APPLICATION = 'config.wsgi.application'
397X_FRAME_OPTIONS = 'SAMEORIGIN'
398YEAR_MONTH_FORMAT = 'F Y'
399
400
401You're seeing this error because you have DEBUG = True in your
402Django settings file. Change that to False, and Django will
403display a standard page generated by the handler for this status code.