'Dolares'
Request Method: | GET |
---|---|
Request URL: | http://datacity.cl/classifieds/ |
Django Version: | 2.1.7 |
Exception Type: | KeyError |
Exception Value: | 'Dolares' |
Exception Location: | /src/indicators/services.py in get_and_update_economic_indicators, line 33 |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.9.10 |
Python Path: | ['/src', '/usr/local/bin', '/usr/local/lib/python39.zip', '/usr/local/lib/python3.9', '/usr/local/lib/python3.9/lib-dynload', '/usr/local/lib/python3.9/site-packages'] |
Server time: | Vie, 29 Mar 2024 09:56:13 -0300 |
/usr/local/lib/python3.9/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)
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('Dolares') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd6b57a7c0>> |
request | <WSGIRequest: GET '/classifieds/'> |
/usr/local/lib/python3.9/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 ClassifiedListView at 0x7fcd6b3144c0> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fcd6b51af70>> |
request | <WSGIRequest: GET '/classifieds/'> |
resolver | <URLResolver 'publidelvalle.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=classifieds.views.ClassifiedListView, args=(), kwargs={}, url_name=list, app_names=['classifieds'], namespaces=['classifieds']) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd6b57a7c0> |
wrapped_callback | <function ClassifiedListView at 0x7fcd6b3144c0> |
/usr/local/lib/python3.9/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 ClassifiedListView at 0x7fcd6b3144c0> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fcd6b51af70>> |
request | <WSGIRequest: GET '/classifieds/'> |
resolver | <URLResolver 'publidelvalle.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=classifieds.views.ClassifiedListView, args=(), kwargs={}, url_name=list, app_names=['classifieds'], namespaces=['classifieds']) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd6b57a7c0> |
wrapped_callback | <function ClassifiedListView at 0x7fcd6b3144c0> |
/usr/local/lib/python3.9/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Return 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"> |
/usr/local/lib/python3.9/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):
"""Add a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {'categories': (('product', 'Producto'), ('vehicle', 'Vehículo'), ('property', 'Propiedad'), ('tourism', 'Turismo')), 'is_paginated': False, 'object_list': [], 'page_obj': <Page 1 of 1>, 'paginator': <django.core.paginator.Paginator object at 0x7fcd6a4f60d0>, 'search': '', 'selected_city': 'all', 'selected_type': 'all', 'view': <classifieds.views.ClassifiedListView object at 0x7fcd6a4f68e0>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7fcd6a4f62e0> |
/usr/local/lib/python3.9/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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7fcd6a4f60d0>, 'page_obj': <Page 1 of 1>, 'is_paginated': False, 'object_list': [], 'view': <classifieds.views.ClassifiedListView object at 0x7fcd6a4f68e0>, 'categories': (('product', 'Producto'), ('vehicle', 'Vehículo'), ('property', 'Propiedad'), ('tourism', 'Turismo')), 'search': '', 'selected_city': 'all', 'selected_type': 'all'}] |
request | <WSGIRequest: GET '/classifieds/'> |
self | <django.template.backends.django.Template object at 0x7fcd6a4f62e0> |
/usr/local/lib/python3.9/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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7fcd6a4f60d0>, 'page_obj': <Page 1 of 1>, 'is_paginated': False, 'object_list': [], 'view': <classifieds.views.ClassifiedListView object at 0x7fcd6a4f68e0>, 'categories': (('product', 'Producto'), ('vehicle', 'Vehículo'), ('property', 'Propiedad'), ('tourism', 'Turismo')), 'search': '', 'selected_city': 'all', 'selected_type': 'all'}] |
self | <django.template.base.Template object at 0x7fcd69bbf160> |
/usr/local/lib/python3.9/contextlib.py
in __enter__
"""Helper for @contextmanager decorator."""
def __enter__(self):
# do not keep args and kwds alive unnecessarily
# they are only needed for recreation, which is not possible anymore
del self.args, self.kwds, self.func
try:
return next(self.gen)...
except StopIteration:
raise RuntimeError("generator didn't yield") from None
def __exit__(self, typ, value, traceback):
if typ is None:
try:
Variable | Value |
---|---|
self | <contextlib._GeneratorContextManager object at 0x7fcd69bbfa90> |
/usr/local/lib/python3.9/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 global_items at 0x7fcd6a4ec670> |
processors | (<function csrf at 0x7fcd6a5548b0>, <function debug at 0x7fcd6a554940>, <function request at 0x7fcd6a554c10>, <function auth at 0x7fcd6a554e50>, <function messages at 0x7fcd6a4ec5e0>, <function global_items at 0x7fcd6a4ec670>, <function backends at 0x7fcd6a4ec940>, <function login_redirect at 0x7fcd6a4ecaf0>) |
self | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7fcd6a4f60d0>, 'page_obj': <Page 1 of 1>, 'is_paginated': False, 'object_list': [], 'view': <classifieds.views.ClassifiedListView object at 0x7fcd6a4f68e0>, 'categories': (('product', 'Producto'), ('vehicle', 'Vehículo'), ('property', 'Propiedad'), ('tourism', 'Turismo')), 'search': '', 'selected_city': 'all', 'selected_type': 'all'}] |
template | <django.template.base.Template object at 0x7fcd69bbf160> |
updates | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': <SimpleLazyObject: <function csrf.<locals>._get_val at 0x7fcd69f3b940>>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcd6a4f64c0>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcd69bbf070>, 'request': <WSGIRequest: GET '/classifieds/'>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fcd69edef40>>} |
/src/publidelvalle/context_processors.py
in global_items
'is_admin2': is_admin2(get_login(request)),
'is_sub_admin2': is_sub_admin2(get_login(request)),
'login' : get_login(request),
'cities': City.objects.filter(is_active=True).order_by('name'),
'is_city_selected': city_slug is not None,
'city': city,
'weather': get_current_weather(city),
'economic_indicators': get_and_update_economic_indicators(),...
'slider_ad_1': get_ad_section('seccion-slider-1'),
'slider_ad_2': get_ad_section('seccion-slider-2'),
'slider_ad_3': get_ad_section('seccion-slider-3'),
'bottom_ad': get_ad_section('seccion-inferior-1'),
'sidebar_ad': get_ad_section('barra-lateral-1'),
'pending_classified': get_pending_classifieds(request),
Variable | Value |
---|---|
city | <City: Quillota, Valparaíso> |
city_slug | None |
header_image | Error in formatting: TypeError: __str__ returned non-string (type NoneType) |
now | datetime.datetime(2024, 3, 29, 12, 56, 12, 194258, tzinfo=<UTC>) |
request | <WSGIRequest: GET '/classifieds/'> |
/src/indicators/services.py
in get_and_update_economic_indicators
for indicator in economic_indicators:
if indicator.is_out_of_date():
data = get_data(indicator.key)
if not data:
continue
value = data[indicator.name_plural][0]...
indicator.value = value['Valor']
indicator.save()
return_value.append({'name': indicator.name, 'value': indicator.value})
return return_value
Variable | Value |
---|---|
data | {'CodigoError': 81, 'CodigoHTTP': 404, 'Mensaje': 'El recurso correspondiente al dia actual aun no ha sido cargado'} |
economic_indicators | <QuerySet [<EconomicIndicator: EconomicIndicator object (1)>, <EconomicIndicator: EconomicIndicator object (3)>, <EconomicIndicator: EconomicIndicator object (2)>]> |
indicator | <EconomicIndicator: EconomicIndicator object (1)> |
return_value | [] |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | '4yAJjHR6lutN3NViXsTEAB5innP1ZtReEAiYluCXEZEJHHNAhwPqaFV1AzUt5JRt' |
CSRF_COOKIE_USED | True |
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '3.237.5.1' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86c004c3c90d8200-EWR' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_HOST | 'datacity.cl' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.237.5.1, 172.70.114.125' |
HTTP_X_FORWARDED_HOST | 'datacity.cl' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SERVER | 'c22869348c95' |
HTTP_X_REAL_IP | '172.70.114.125' |
PATH_INFO | '/classifieds/' |
QUERY_STRING | '' |
RAW_URI | '/classifieds/' |
REMOTE_ADDR | '172.24.0.6' |
REMOTE_PORT | '46548' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/19.9.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.24.0.8', 8000), raddr=('172.24.0.6', 46548)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fcd6a4f6340> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fcd6a4f6af0> |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
publidelvalle.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['www.publidelvalle.dev.trazolabs.ninja', 'www.datacity.cl', 'datacity.cl', 'localhost', '192.168.0.15', '192.168.1.90', '22605cf8.ngrok.io', 'datacity.trazo.dev'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('social_core.backends.facebook.FacebookOAuth2', 'social_core.backends.twitter.TwitterOAuth', 'social_core.backends.github.GithubOAuth2', 'django.contrib.auth.backends.ModelBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BACKEND_HOST | 'http://datacity.cl' |
BASE_DIR | '/src' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CITIES_TABLE_URL | 'https://es.wikipedia.org/wiki/Anexo:Comunas_de_Chile' |
CMF_API_KEY | '********************' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | '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_psycopg2', 'HOST': 'postgres', 'NAME': 'postgres', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_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'] |
DATE_FORMAT | 'N j, Y' |
DATE_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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', '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 | [] |
FLOW_API_DOMAIN | '********************' |
FLOW_API_KEY | '********************' |
FLOW_API_SECRET | '********************' |
FLOW_SANDBOX_CLIENT_ID | '1F6B475B-73AE-48E1-B458-52341LDC0A9E' |
FLOW_SANDBOX_CLIENT_SECRET | '********************' |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GOOGLE_API_KEY | '********************' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.elasticsearch2_backend.Elasticsearch2SearchEngine', 'INDEX_NAME': 'haystack', 'URL': 'elasticsearch:9200'}} |
HAYSTACK_SIGNAL_PROCESSOR | 'haystack.signals.RealtimeSignalProcessor' |
HOST_NAME | 'https://datacity.cl' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'haystack', 'bootstrap4', 'locations', 'articles', 'authentication', 'administration', 'home', 'widget_tweaks', 'printedversions', 'indicators', 'settings', 'ads', 'classifieds', 'transactions', 'information', 'tourism', 'landing', 'contact', 'commerce', 'business', 'sustainability', 'django_pdb', 'django_cleanup', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.google', 'social_django', 'rest_framework'] |
INTERNAL_IPS | [] |
IS_PRODUCTION | True |
LANGUAGES | [('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'), ('kab', 'Kabyle'), ('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')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'es-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/src/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['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', 'social_django.middleware.SocialAuthExceptionMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
OPEN_WEATHER_MAP_API_KEY | '********************' |
OPEN_WEATHER_MAP_API_URL | '********************' |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PAST_DUE_DEADLINE | 4 |
PREPEND_WWW | False |
ROOT_URLCONF | 'publidelvalle.urls' |
SECRET_KEY | '********************' |
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 |
SENDGRID_API_KEY | '********************' |
SENDGRID_TEMPLATE | 'd-16660443ecd44670abd283937525107a' |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'publidelvalle.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ['/src/static'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/src/staticfiles' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/src/publidelvalle/templates'], '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', 'publidelvalle.context_processors.global_items', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/Santiago' |
USERS_API_EMAIL | '********************' |
USERS_API_HOST_NAME | '********************' |
USERS_API_PASSWORD | '********************' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VALID_AD_IMAGE_FORMATS | ['gif', 'jpg', 'png'] |
WSGI_APPLICATION | 'publidelvalle.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | '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.