'HTTP_ACCEPT_LANGUAGE'
Request Method: | GET |
---|---|
Request URL: | https://www.congressodeinovacao.com.br/2019/palestrantes/ |
Django Version: | 1.11.12 |
Exception Type: | KeyError |
Exception Value: | 'HTTP_ACCEPT_LANGUAGE' |
Exception Location: | ./conf/utils.py in get_language, line 92 |
Python Executable: | /opt/app-root/bin/uwsgi |
Python Version: | 2.7.18 |
Python Path: | ['.', '', '/opt/rh/rh-nodejs14/root/usr/lib/python2.7/site-packages', '/opt/app-root/lib64/python27.zip', '/opt/app-root/lib64/python2.7', '/opt/app-root/lib64/python2.7/plat-linux2', '/opt/app-root/lib64/python2.7/lib-tk', '/opt/app-root/lib64/python2.7/lib-old', '/opt/app-root/lib64/python2.7/lib-dynload', '/opt/rh/python27/root/usr/lib64/python2.7', '/opt/rh/python27/root/usr/lib/python2.7', '/opt/app-root/lib/python2.7/site-packages'] |
Server time: | Qui, 28 Mar 2024 20:42:26 -0300 |
/opt/app-root/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | KeyError('HTTP_ACCEPT_LANGUAGE',) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f9363fb9190>> |
request | <WSGIRequest: GET '/2019/palestrantes/'> |
/opt/app-root/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
return response
def process_exception_by_middleware(self, exception, request):
"""
Pass the exception to the exception middleware. If no middleware
Variable | Value |
---|---|
callback | <function PalestrantesView at 0x7f9356eb2c50> |
callback_args | () |
callback_kwargs | {'page_title': 'palestrantes'} |
e | KeyError('HTTP_ACCEPT_LANGUAGE',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f935880cf50>> |
request | <WSGIRequest: GET '/2019/palestrantes/'> |
resolver | <RegexURLResolver 'conf.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=apps.palestrantes.views.PalestrantesView, args=(), kwargs={'page_title': 'palestrantes'}, url_name=index, app_names=['palestrante'], namespaces=['palestrante']) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9363fb9190> |
wrapped_callback | <function PalestrantesView at 0x7f9356eb2c50> |
/opt/app-root/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function PalestrantesView at 0x7f9356eb2c50> |
callback_args | () |
callback_kwargs | {'page_title': 'palestrantes'} |
e | KeyError('HTTP_ACCEPT_LANGUAGE',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f935880cf50>> |
request | <WSGIRequest: GET '/2019/palestrantes/'> |
resolver | <RegexURLResolver 'conf.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=apps.palestrantes.views.PalestrantesView, args=(), kwargs={'page_title': 'palestrantes'}, url_name=index, app_names=['palestrante'], namespaces=['palestrante']) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9363fb9190> |
wrapped_callback | <function PalestrantesView at 0x7f9356eb2c50> |
/opt/app-root/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/opt/app-root/lib/python2.7/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {u'is_paginated': False, u'object_list': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'page_obj': None, u'paginator': None, u'palestrantes': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'view': <apps.palestrantes.views.PalestrantesView object at 0x7f93567262d0>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f935678cdd0> |
/opt/app-root/lib/python2.7/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': None, u'palestrantes': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'page_obj': None, u'object_list': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'is_paginated': False, u'view': <apps.palestrantes.views.PalestrantesView object at 0x7f93567262d0>}] |
request | <WSGIRequest: GET '/2019/palestrantes/'> |
self | <django.template.backends.django.Template object at 0x7f935678cdd0> |
/opt/app-root/lib/python2.7/site-packages/django/template/base.py
in render
def _render(self, context):
return self.nodelist.render(context)
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):...
context.template_name = self.name
return self._render(context)
else:
return self._render(context)
def compile_nodelist(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': None, u'palestrantes': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'page_obj': None, u'object_list': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'is_paginated': False, u'view': <apps.palestrantes.views.PalestrantesView object at 0x7f93567262d0>}] |
self | <django.template.base.Template object at 0x7f9356809090> |
/opt/rh/python27/root/usr/lib64/python2.7/contextlib.py
in __enter__
"""Helper for @contextmanager decorator."""
def __init__(self, gen):
self.gen = gen
def __enter__(self):
try:
return self.gen.next()...
except StopIteration:
raise RuntimeError("generator didn't yield")
def __exit__(self, type, value, traceback):
if type is None:
try:
Variable | Value |
---|---|
self | <contextlib.GeneratorContextManager object at 0x7f935678cd50> |
/opt/app-root/lib/python2.7/site-packages/django/template/context.py
in bind_template
self.template = template
# Set context processors according to the template engine's settings.
processors = (template.engine.template_context_processors +
self._processors)
updates = {}
for processor in processors:
updates.update(processor(self.request))...
self.dicts[self._processors_index] = updates
try:
yield
finally:
self.template = None
Variable | Value |
---|---|
processor | <function settings_context_processor at 0x7f9356d9bb50> |
processors | (<function csrf at 0x7f9356d995d0>, <function debug at 0x7f9356d99650>, <function request at 0x7f9356d998d0>, <function i18n at 0x7f9356d996d0>, <function auth at 0x7f9356d9a7d0>, <function messages at 0x7f9356d9a3d0>, <function sekizai at 0x7f9356d9add0>, <function cms_settings at 0x7f9356d9b9d0>, <function settings_context_processor at 0x7f9356d9bb50>, <function imagens_rodape at 0x7f9356d9bc50>) |
self | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'paginator': None, u'palestrantes': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'page_obj': None, u'object_list': <QuerySet [<Palestrante: Laercio Albuquerque>, <Palestrante: Graciela Pignatari>, <Palestrante: Rafael Steinhauser>, <Palestrante: April Rinne>, <Palestrante: José Claudio Cyrineu Terra>, <Palestrante: Tânia Cosentino>, <Palestrante: Laércio Cosentino>, <Palestrante: Gianna Sagazio>, <Palestrante: Antonio José Roque da Silva>, <Palestrante: Cristina Palmaka>, <Palestrante: Mauro Kern>, <Palestrante: Lourdes Casanova>, <Palestrante: Gustavo Leal>, <Palestrante: Erika Györvary>, <Palestrante: Horacio Piva>, <Palestrante: Lisa Åbom>, <Palestrante: Daniel Susskind>, <Palestrante: Michal Neeman>, <Palestrante: Pedro Wongtschowski>, <Palestrante: Ana Paula Assis>, '...(remaining elements truncated)...']>, u'is_paginated': False, u'view': <apps.palestrantes.views.PalestrantesView object at 0x7f93567262d0>}] |
template | <django.template.base.Template object at 0x7f9356809090> |
updates | {'CMS_MEDIA_URL': '/media2019/cms/', 'CMS_TEMPLATE': <function <lambda> at 0x7f93567e6bd0>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, u'LANGUAGES': (('pt-br', 'Portuguese'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pt-br', 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {}), 'cms_menu_renderer': <menus.menu_pool.MenuRenderer object at 0x7f9356677c50>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0x7f9356772250>>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f935677c950>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f935678cf50>, u'request': <WSGIRequest: GET '/2019/palestrantes/'>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f935677c610>>} |
./conf/context_processor.py
in settings_context_processor
from django.urls import reverse
from conf import language
from .utils import get_language
def settings_context_processor(request):
lang = get_language(request)...
def gs(name):
if lang == 'en':
name += '_en'
return getattr(language, name, None)
Variable | Value |
---|---|
request | <WSGIRequest: GET '/2019/palestrantes/'> |
./conf/utils.py
in get_language
if hasattr(request, '_data'):
language_querystring = request._data.get('lang')
if language_querystring:
if language_querystring == 'pt':
return 'pt'
return 'en'
language = request.META['HTTP_ACCEPT_LANGUAGE']...
# HTTP_ACCEPT_LANGUAGE is string containing multiples languages
if not bool(re.search('pt', language.lower())):
return 'en'
return 'pt'
Variable | Value |
---|---|
language_querystring | None |
request | <WSGIRequest: GET '/2019/palestrantes/'> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.congressodeinovacao.com.br' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.160.243.44' |
HTTP_X_FORWARDED_HOST | 'www.congressodeinovacao.com.br' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SCHEME | 'https' |
HTTP_X_REAL_IP | '54.160.243.44' |
HTTP_X_REQUEST_ID | 'c6357b6b24fc654e4883861be76a2e7b' |
HTTP_X_SCHEME | 'https' |
PATH_INFO | u'/2019/palestrantes/' |
QUERY_STRING | '' |
REMOTE_ADDR | '10.244.0.164' |
REMOTE_PORT | '37070' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/2019/palestrantes/' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'congresso-de-inovacao-2019-5d5bc9b986-l52xc' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
UWSGI_ROUTER | 'http' |
uwsgi.core | 2 |
uwsgi.node | 'congresso-de-inovacao-2019-5d5bc9b986-l52xc' |
uwsgi.version | '2.0.20' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f93587edae0> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f9356afb630> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
conf.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'users.User' |
BASE_DIR | '/opt/app-root' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': 'unique-snowflake'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CMS_PERMISSION | True |
CMS_PLACEHOLDER_CONF | {None: {'excluded_plugins': ['TextPlugin']}} |
CMS_TEMPLATES | [('base.html', 'Base'), ('interna.html', u'P\xe1gina interna')] |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': '10.245.0.5', 'NAME': 'congressodeinovacao2019', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'usr_congressodeinovacao2019'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | 'False' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'no-reply@cni.com.br' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_FALECONOSCO | 'digitais.contato@cni.org.br' |
EMAIL_HOST | 'smtp.sendgrid.net' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'apikey' |
EMAIL_PORT | '587' |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILER_IMAGE_MODEL | 'filer.Image' |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
GOOGLE_MAP_EMBED_KEY | u'********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['apps.users', 'django_extensions', 'djangocms_admin_style', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'cms', 'menus', 'treebeard', 'sekizai', 'djangocms_text_ckeditor', 'bootstrap3', 'adminsortable2', 'easy_thumbnails', 'colorfield', 'filer', 'rest_framework', 'cropperjs', 'plugins.plugins_conteudo', 'plugins.abas', 'plugins.botao', 'plugins.carrossel', 'plugins.collapse', 'plugins.container', 'plugins.galeria', 'plugins.imagem', 'plugins.titulo', 'plugins.video', 'plugins.texto', 'apps.palestrantes', 'apps.tenho_interesse', 'apps.responsaveis', 'apps.programacao', 'apps.palestras_publicacoes', 'apps.generics'] |
INTERNAL_IPS | [] |
LANGUAGES | (('pt-br', 'Portuguese'),) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'pt-br' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | '/admin/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/opt/app-root/media' |
MEDIA_URL | '/media2019/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware', 'cms.middleware.utils.ApphookReloadMiddleware', 'apps.utils.middleware.DisableCsrfCheck'] |
MIDDLEWARE_CLASSES | [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'conf.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'conf.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ['/opt/app-root/static/', '/opt/app-root/static_vue/'] |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/opt/app-root/static_files' |
STATIC_URL | '/static2019/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/app-root/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.i18n', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'sekizai.context_processors.sekizai', 'cms.context_processors.cms_settings', 'conf.context_processor.settings_context_processor', 'plugins.plugins_conteudo.context_processor.imagens_rodape']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'America/Sao_Paulo' |
TWITTER_ACCESS_TOKEN | u'********************' |
TWITTER_ACCESS_TOKEN_SECRET | u'********************' |
TWITTER_COMSUMER_SECRET | u'********************' |
TWITTER_CONSUMER_KEY | u'********************' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'conf.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.