'dict' object has no attribute 'status'
Request Method: | GET |
---|---|
Request URL: | https://retos.co/ecosistema/participantes/1056 |
Django Version: | 2.2.9 |
Exception Type: | AttributeError |
Exception Value: | 'dict' object has no attribute 'status' |
Exception Location: | /srv/apps/front/views.py in get_context_data, line 1241 |
Python Executable: | /layers/google.python.runtime/python/bin/python3 |
Python Version: | 3.9.18 |
Python Path: | ['/srv/apps', '/srv', '/workspace', '/layers/google.python.pip/pip/bin', '/layers/google.python.runtime/python/lib/python39.zip', '/layers/google.python.runtime/python/lib/python3.9', '/layers/google.python.runtime/python/lib/python3.9/lib-dynload', '/layers/google.python.pip/pip/lib/python3.9/site-packages', '/layers/google.python.runtime/python/lib/python3.9/site-packages', '/layers/google.python.pip/pip/lib/python3.9/site-packages/odf', '/layers/google.python.pip/pip/lib/python3.9/site-packages/odf', '/layers/google.python.pip/pip/lib/python3.9/site-packages/odf', '/layers/google.python.pip/pip/lib/python3.9/site-packages/odf', '/layers/google.python.pip/pip/lib/python3.9/site-packages/odf', '/layers/google.python.pip/pip/lib/python3.9/site-packages/odf', '/layers/google.python.pip/pip/lib/python3.9/site-packages/odf'] |
Server time: | Vie, 29 Mar 2024 11:00:34 -0500 |
/layers/google.python.pip/pip/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 | AttributeError("'dict' object has no attribute 'status'") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x3e29899afe80>> |
request | <WSGIRequest: GET '/ecosistema/participantes/1056'> |
/layers/google.python.pip/pip/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 UserProfile at 0x3e29871e45e0> |
callback_args | () |
callback_kwargs | {'pk': 1056} |
middleware_method | <bound method CorsPostCsrfMiddleware.process_view of <corsheaders.middleware.CorsPostCsrfMiddleware object at 0x3e2987985340>> |
request | <WSGIRequest: GET '/ecosistema/participantes/1056'> |
resolver | <URLResolver 'retos.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=front.views.UserProfile, args=(), kwargs={'pk': 1056}, url_name=user_detail, app_names=[], namespaces=[], route=ecosistema/participantes/<int:pk>) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x3e29899afe80> |
urlconf | 'retos.urls' |
wrapped_callback | <function UserProfile at 0x3e29871e45e0> |
/layers/google.python.pip/pip/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 UserProfile at 0x3e29871e45e0> |
callback_args | () |
callback_kwargs | {'pk': 1056} |
middleware_method | <bound method CorsPostCsrfMiddleware.process_view of <corsheaders.middleware.CorsPostCsrfMiddleware object at 0x3e2987985340>> |
request | <WSGIRequest: GET '/ecosistema/participantes/1056'> |
resolver | <URLResolver 'retos.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=front.views.UserProfile, args=(), kwargs={'pk': 1056}, url_name=user_detail, app_names=[], namespaces=[], route=ecosistema/participantes/<int:pk>) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x3e29899afe80> |
urlconf | 'retos.urls' |
wrapped_callback | <function UserProfile at 0x3e29871e45e0> |
/layers/google.python.pip/pip/lib/python3.9/site-packages/django/views/generic/base.py
in view
self.head = self.get
self.setup(request, *args, **kwargs)
if not hasattr(self, 'request'):
raise AttributeError(
"%s instance has no 'request' attribute. Did you override "
"setup() and forget to call super()?" % cls.__name__
)
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 'front.views.UserProfile'> |
initkwargs | {} |
kwargs | {'pk': 1056} |
request | <WSGIRequest: GET '/ecosistema/participantes/1056'> |
self | <front.views.UserProfile object at 0x3e2984afb820> |
/layers/google.python.pip/pip/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 BaseDetailView.get of <front.views.UserProfile object at 0x3e2984afb820>> |
kwargs | {'pk': 1056} |
request | <WSGIRequest: GET '/ecosistema/participantes/1056'> |
self | <front.views.UserProfile object at 0x3e2984afb820> |
/layers/google.python.pip/pip/lib/python3.9/site-packages/django/views/generic/detail.py
in get
return super().get_context_data(**context)
class BaseDetailView(SingleObjectMixin, View):
"""A base view for displaying a single object."""
def get(self, request, *args, **kwargs):
self.object = self.get_object()
context = self.get_context_data(object=self.object)…
return self.render_to_response(context)
class SingleObjectTemplateResponseMixin(TemplateResponseMixin):
template_name_field = None
template_name_suffix = '_detail'
Variable | Value |
---|---|
args | () |
kwargs | {'pk': 1056} |
request | <WSGIRequest: GET '/ecosistema/participantes/1056'> |
self | <front.views.UserProfile object at 0x3e2984afb820> |
/srv/apps/front/views.py
in get_context_data
workteams = WorkTeam.objects.prefetch_related('teacher', 'postulator', 'mentor', 'student', 'reviewer').filter(teacher_id=context['user'].id) | WorkTeam.objects.prefetch_related('teacher', 'postulator', 'mentor', 'student', 'reviewer').filter(mentor_id=context['user'].id) | WorkTeam.objects.prefetch_related('teacher', 'postulator', 'mentor', 'student', 'reviewer').filter(postulator_id=context['user'].id) | WorkTeam.objects.prefetch_related('teacher', 'postulator', 'mentor', 'student', 'reviewer').filter(student=context['user'].id)
context['challenges'] = get_user_challenges(workteams, 1)
active_challenges = []
historical_challenges = []
for challenge in context['challenges']:
if challenge.status == 'Active':…
active_challenges.append(challenge)
elif challenge.status == 'Historical':
historical_challenges.append(challenge)
context['active_challenges'] = active_challenges
context['historical_challenges'] = historical_challenges
Variable | Value |
---|---|
__class__ | <class 'front.views.UserProfile'> |
active_challenges | [] |
args | () |
challenge | {'challenge': <Challenge: Distribución de excretas en Vermifiltro y material de réplica del sistema>, 'id': 198, 'name_team': 'Equipo 198'} |
context | {'challenges': [{'challenge': <Challenge: Distribución de excretas en Vermifiltro y material de réplica del sistema>, 'id': 198, 'name_team': 'Equipo 198'}], 'host': 'retos.co', 'object': <User: Amena Khatun>, 'user': <User: Amena Khatun>, 'view': <front.views.UserProfile object at 0x3e2984afb820>} |
historical_challenges | [] |
kwargs | {'object': <User: Amena Khatun>} |
self | <front.views.UserProfile object at 0x3e2984afb820> |
workteams | <QuerySet [<WorkTeam: Distribución de excretas en Vermifiltro y material de réplica del sistema>]> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_FORWARDED | 'for="54.158.138.161";proto=https' |
HTTP_HOST | 'retos.co' |
HTTP_TRACEPARENT | '00-91ac31dbb7408c9030a1df3d207a1033-1004e53d6e203bb3-00' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_APPENGINE_API_TICKET | 'ChAyMzQ0NGU2MDI3NWUwMzQ0EIHT5xcQjNPnFxCLgYEYEJaBgRgQ6pX/IRD1lf8hEKSGgSIQs4aBIhD9hIQiEIyFhCIQitSSIhCZ1JIiEMTSmCIQ09KYIhD96Z0iEIzqnSIQuJmhIhCsiYItELSJgi0Q+uWCLRCC5oItEI3bhi0QnNuGLRC57octEMjuhy0QiO+HLRCX74ctGhMIztTh6+uZhQMV48EVAB07Kwv+' |
HTTP_X_APPENGINE_CITY | 'ashburn' |
HTTP_X_APPENGINE_CITYLATLONG | '39.043757,-77.487442' |
HTTP_X_APPENGINE_COUNTRY | 'US' |
HTTP_X_APPENGINE_DEFAULT_NAMESPACE | 'gmail.com' |
HTTP_X_APPENGINE_DEFAULT_VERSION_HOSTNAME | 'retos-co.ue.r.appspot.com' |
HTTP_X_APPENGINE_HTTPS | 'on' |
HTTP_X_APPENGINE_REGION | 'va' |
HTTP_X_APPENGINE_REQUEST_LOG_ID | '6606e5a200ff0d3dce935403490001707e7265746f732d636f000170726f64756374696f6e000100' |
HTTP_X_APPENGINE_TIMEOUT_MS | '599999' |
HTTP_X_APPENGINE_USER_IP | '54.158.138.161' |
HTTP_X_CLOUD_TRACE_CONTEXT | '91ac31dbb7408c9030a1df3d207a1033/1154299456517061555' |
HTTP_X_FORWARDED_FOR | '54.158.138.161, 169.254.1.1' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_GOOGLE_APPS_METADATA | 'domain=gmail.com,host=retos.co' |
PATH_INFO | '/ecosistema/participantes/1056' |
QUERY_STRING | '' |
RAW_URI | '/ecosistema/participantes/1056' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '32339' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8081' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/21.2.0' |
gunicorn.socket | <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8081), raddr=('127.0.0.1', 32339)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x3e29856563d0> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x3e2985656670> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
retos.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ADMIN_REORDER | ('news', 'auth', 'category', 'comments', 'cocreation', 'college', 'community', 'challenge', 'transition', 'location', 'ecosystems', 'users', {'app': 'surveys_forms', 'label': 'Encuestas de inicio [Estudiante]', 'models': ('surveys_forms.StudentSurveyBegin', 'surveys_forms.QuestionExperience', 'surveys_forms.QuestionSpaceUniversity', 'surveys_forms.QuestionCommitment')}, {'app': 'surveys_forms', 'label': 'Encuestas de inicio [Postulador]', 'models': ('surveys_forms.PostulatorSurveyBegin', 'surveys_forms.QuestionCommitmentPostulator', 'surveys_forms.WhyParticipateInRetos', 'surveys_forms.ParticipatedAgain')}, {'app': 'surveys_forms', 'label': 'Encuestas de cierre [Estudiante]', 'models': ('surveys_forms.StudentSurveyClose', 'surveys_forms.QuestionExperienceAllowed', 'surveys_forms.QuestionChallengeEachCase', 'surveys_forms.QuestionOptionIdentifiedTeam', 'surveys_forms.QuestionContributeProcess', 'surveys_forms.QuestionContributeCommunity', 'surveys_forms.QuestionValuableAboutRetos')}, {'app': 'surveys_forms', 'label': 'Encuestas de cierre [Docente]', 'models': ('surveys_forms.CloseSurveyPostulatorTeacher', 'surveys_forms.ValuableStrategies')}, {'app': 'surveys_forms', 'label': 'Encuestas de cierre [Postulador]', 'models': ('surveys_forms.PostulatorCloseSurvey', 'surveys_forms.ChallengeExperienceMatrix')}, {'app': 'surveys_forms', 'label': 'Formularios enfocando reto [Docente]', 'models': ('surveys_forms.CreationForm', 'surveys_forms.TeacherForm', 'surveys_forms.FinalGradePointMatrix', 'surveys_forms.CommunityType')}, {'app': 'surveys_forms', 'label': 'Formularios intereses [Estudiante]', 'models': ('surveys_forms.CreationStudentForm', 'surveys_forms.StudentForm', 'surveys_forms.CommunityReference', 'surveys_forms.ChallengeType')}) |
ADMIN_URL | 'retos.admin_urls' |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
ASPIRE_URLCONF | 'retos.aspire_urls' |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'users.User' |
BASE_DIR | '/srv' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CHANGE_BUCKET_MODE | False |
CORS_ALLOWED_ORIGINS | ['*'] |
CORS_ALLOW_CREDENTIALS | True |
CORS_ALLOW_HEADERS | ['accept', 'accept-encoding', 'authorization', 'content-type', 'dnt', 'origin', 'user-agent', 'x-csrftoken', 'x-requested-with', 'Access-Control-Allow-Origin', '*'] |
CORS_ALLOW_METHODS | ['DELETE', 'GET', 'OPTIONS', 'PATCH', 'POST', 'PUT'] |
CORS_ORIGIN_ALLOW_ALL | True |
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.mysql', 'HOST': '/cloudsql/retos-co:us-east1:restosdistancia0', 'NAME': 'retos_database', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'user_retos'}} |
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 |
DEBUG_TOOLBAR_CONFIG | {'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x3e298a166af0>} |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'retos.gcloud.GoogleCloudMediaFileStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_HOST | 'retos' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'equiporetosd0@gmail.com' |
EMAIL_PORT | 587 |
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 | True |
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 | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GOOGLE_CLOUD_STORAGE_BUCKET | '/retos-co-bucket' |
GOOGLE_CLOUD_STORAGE_DEFAULT_CACHE_CONTROL | 'public, max-age: 7200' |
GOOGLE_CLOUD_STORAGE_URL | 'https://storage.googleapis.com/retos-co-bucket/static' |
GS_CREDENTIALS | <google.oauth2.service_account.Credentials object at 0x3e298ad13b50> |
GS_MEDIA_BUCKET_NAME | 'platform-media-retos' |
GS_PROJECT_ID | 'retos-co' |
GS_STATIC_BUCKET_NAME | 'platform-static-retos' |
IGNORABLE_404_URLS | [] |
IMAGEKIT_CACHEFILE_DIR | 'CACHE/images' |
IMAGEKIT_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.hash' |
IMAGEKIT_CACHE_BACKEND | 'default' |
IMAGEKIT_CACHE_PREFIX | 'imagekit:' |
IMAGEKIT_CACHE_TIMEOUT | 300 |
IMAGEKIT_DEFAULT_CACHEFILE_BACKEND | 'imagekit.cachefiles.backends.Simple' |
IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY | 'imagekit.cachefiles.strategies.JustInTime' |
IMAGEKIT_DEFAULT_FILE_STORAGE | 'retos.gcloud.GoogleCloudMediaFileStorage' |
IMAGEKIT_SPEC_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.source_name_as_path' |
IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY | '********************' |
INSTALLED_APPS | ['analytical', 'jet.dashboard', 'jet', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'google_translate', 'imagekit', 'corsheaders', 'django.contrib.staticfiles', 'rest_framework', 'storages', 'betterforms', 'import_export', 'annoying', 'core', 'community', 'surveys_forms', 'front', 'category', 'college', 'location', 'challenge', 'users', 'cocreation', 'transition', 'comments', 'admin_utilities', 'news', 'django_social_share', 'debug_toolbar', 'admin_reorder', 'django_hosts', 'ecosystems', 'admin_apps.main_dashboard', 'admin_apps.login', 'admin_apps.main_challenge', 'admin_apps.main_community', 'admin_apps.main_grade', 'admin_apps.main_institution', 'admin_apps.main_user_challenge', 'admin_apps.main_page_web', 'admin_apps.main_new', 'admin_apps.main_post', 'admin_apps.main_events', 'admin_apps.main_question', 'admin_apps.main_survey', 'fontawesome-free'] |
INTERNAL_IPS | ['127.0.0.1'] |
JET_DEFAULT_THEME | 'green' |
JET_MODULE_YANDEX_METRIKA_CLIENT_ID | '9a592b237fce434593d2677f273403bd' |
JET_MODULE_YANDEX_METRIKA_CLIENT_SECRET | '********************' |
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'), ('hy', 'Armenian'), ('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-es' |
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 | 'main_dashboard' |
LOGIN_URL | 'login' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | 'https://storage.cloud.google.com/platform-media-retos/' |
MEDIA_URL | 'https://storage.googleapis.com/platform-media-retos/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django_hosts.middleware.HostsRequestMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'admin_reorder.middleware.ModelAdminReorder', 'django.middleware.csrf.CsrfViewMiddleware', 'corsheaders.middleware.CorsPostCsrfMiddleware', 'django_hosts.middleware.HostsResponseMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_ROOT | '/srv/retos/..' |
REST_FRAMEWORK | {} |
ROOT_HOSTCONF | 'retos.hosts' |
ROOT_URLCONF | 'retos.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 |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | '.retos.co' |
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 | 'retos.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | ['/srv/public/static', '/srv/vue/community-transition/dist', '/srv/vue/comments/dist', '/srv/admin_apps/static'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'retos.gcloud.GoogleCloudStaticFileStorage' |
STATIC_ROOT | None |
STATIC_URL | 'https://storage.googleapis.com/platform-static-retos/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['vue/community-transition/dist', 'vue/comments/dist', '/srv/admin_apps/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', 'django.template.context_processors.media']}}] |
TEMPLATES_DIR | '/srv/admin_apps/templates' |
TEST_CRED | {'auth_provider_x509_cert_url': 'https://www.googleapis.com/oauth2/v1/certs', 'auth_uri': 'https://accounts.google.com/o/oauth2/auth', 'client_email': 'storage-handler@retos-co.iam.gserviceaccount.com', 'client_id': '113590448019773118104', 'client_x509_cert_url': 'https://www.googleapis.com/robot/v1/metadata/x509/storage-handler%40retos-co.iam.gserviceaccount.com', 'private_key': '********************', 'private_key_id': '********************', 'project_id': 'retos-co', 'token_uri': '********************', 'type': 'service_account'} |
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/Bogota' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
USING_GOOGLE_CLOUD_PROXY | False |
WSGI_APPLICATION | 'retos.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YANDEX_METRICA_COUNTER_ID | '89738987' |
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.