'Dolares'
Request Method: | GET |
---|---|
Request URL: | http://datacity.cl/landing/ |
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 10:02:12 -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 '/landing/'> |
/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function LandingTemplateView at 0x7fcd6a8c8e50> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fcd6b51af70>> |
request | <WSGIRequest: GET '/landing/'> |
resolver | <URLResolver 'publidelvalle.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=landing.views.LandingTemplateView, args=(), kwargs={}, url_name=index, app_names=['landing'], namespaces=['landing']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd6b57a7c0> |
wrapped_callback | <function LandingTemplateView at 0x7fcd6a8c8e50> |
/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function LandingTemplateView at 0x7fcd6a8c8e50> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fcd6b51af70>> |
request | <WSGIRequest: GET '/landing/'> |
resolver | <URLResolver 'publidelvalle.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=landing.views.LandingTemplateView, args=(), kwargs={}, url_name=index, app_names=['landing'], namespaces=['landing']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fcd6b57a7c0> |
wrapped_callback | <function LandingTemplateView at 0x7fcd6a8c8e50> |
/usr/local/lib/python3.9/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'landing.views.LandingTemplateView'> |
initkwargs | {} |
kwargs | {} |
request | <WSGIRequest: GET '/landing/'> |
self | <landing.views.LandingTemplateView object at 0x7fcd6a30ee50> |
/usr/local/lib/python3.9/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method LandingTemplateView.get of <landing.views.LandingTemplateView object at 0x7fcd6a30ee50>> |
kwargs | {} |
request | <WSGIRequest: GET '/landing/'> |
self | <landing.views.LandingTemplateView object at 0x7fcd6a30ee50> |
/src/landing/views.py
in get
send_html_email('Admin Data City', '[email protected]', title,
'contact/email/contact.html', context)
return MSM_SUCCESS
class LandingTemplateView(generic.CreateView):
template_name = 'landing/index.html'
def get(self, request, *args, **kwargs):
return render(request, self.template_name )...
class PersonLandingTemplateView(generic.CreateView):
template_name = 'landing/person/index.html'
def get(self, request, *args, **kwargs):
return render(request, self.template_name )
Variable | Value |
---|---|
args | () |
kwargs | {} |
request | <WSGIRequest: GET '/landing/'> |
self | <landing.views.LandingTemplateView object at 0x7fcd6a30ee50> |
/usr/local/lib/python3.9/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)...
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | None |
request | <WSGIRequest: GET '/landing/'> |
status | None |
template_name | 'landing/index.html' |
using | None |
/usr/local/lib/python3.9/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)...
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | None |
request | <WSGIRequest: GET '/landing/'> |
template | <django.template.backends.django.Template object at 0x7fcd6a565280> |
template_name | 'landing/index.html' |
using | None |
/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}, {}, {}] |
request | <WSGIRequest: GET '/landing/'> |
self | <django.template.backends.django.Template object at 0x7fcd6a565280> |
/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}, {}, {}] |
self | <django.template.base.Template object at 0x7fcd6a30ebb0> |
/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 0x7fcd6a30eac0> |
/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}, {}, {}] |
template | <django.template.base.Template object at 0x7fcd6a30ebb0> |
updates | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': <SimpleLazyObject: <function csrf.<locals>._get_val at 0x7fcd69f3b4c0>>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fcd6a30e7c0>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fcd6a30e730>, 'request': <WSGIRequest: GET '/landing/'>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fcd6b316280>>} |
/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, 13, 2, 11, 686003, tzinfo=<UTC>) |
request | <WSGIRequest: GET '/landing/'> |
/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 | 'ngN5UWxpx7zxu7CTm3emfUZdzGKqPV1xiUcWWad6itNC0R0N0dumkuMcpzJMBEuf' |
CSRF_COOKIE_USED | True |
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '3.234.212.253' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86c00d8aba07389a-EWR' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_HOST | 'datacity.cl' |
HTTP_REFERER | 'https://datacity.cl/landing' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.234.212.253, 172.70.230.245' |
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.230.245' |
PATH_INFO | '/landing/' |
QUERY_STRING | '' |
RAW_URI | '/landing/' |
REMOTE_ADDR | '172.24.0.6' |
REMOTE_PORT | '46566' |
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', 46566)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fcd6a30e430> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fcd6a30e490> |
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.