1
Request Method: | GET |
---|---|
Request URL: | http://calcio-seriea.net/calendario/2002/147/1/ |
Django Version: | 3.1.4 |
Exception Type: | KeyError |
Exception Value: | 1 |
Exception Location: | /src/./calcio/funz_main.py, line 959, in Calendario |
Python Executable: | /usr/sbin/uwsgi |
Python Version: | 3.8.10 |
Python Path: | ['.', '', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/usr/lib/python3.8/site-packages'] |
Server time: | Fri, 29 Mar 2024 09:18:50 +0000 |
/usr/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@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(1) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fef70c60ac0>> |
request | <WSGIRequest: GET '/calendario/2002/147/1/'> |
/usr/lib/python3.8/site-packages/django/core/handlers/base.py
, line 179, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function calendario at 0x7fef707014c0> |
callback_args | () |
callback_kwargs | {'anno': 2002, 'girone': 1, 'torneo': 147} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fef70609b50>> |
request | <WSGIRequest: GET '/calendario/2002/147/1/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fef70c60ac0> |
wrapped_callback | <function calendario at 0x7fef707014c0> |
/src/./calcio/views.py
, line 778, in calendario
context = base(request, anno, 'calendario', 2)
context['torneo'] = trn
context['girone'] = int(girone)
if trn.serie == "A":
context['pagina'] = 'calendarioa'
elif trn.serie == "B":
context['pagina'] = 'calendariob'
context = query.Calendario(request, context, anno, torneo, girone)…
#context['tornei'] = Torneo.objects.filter(stagione=context['stagione'],
# serie=context['serie']).order_by('girone')
return render(request, 'calendario.html', context)
################################################################################
### RISULTATI
Variable | Value |
---|---|
anno | 2002 |
context | {'giornata_a': 2831, 'giornata_b': 5702, 'girone': 1, 'pagina': 'calendarioa', 'request': <WSGIRequest: GET '/calendario/2002/147/1/'>, 'serie': 'A', 'squadra_a': 1214, 'squadra_b': 2930, 'stagione': <Stagione: 2002>, 'stagioni': <QuerySet [<Stagione: 2017>, <Stagione: 2016>, <Stagione: 2015>, <Stagione: 2014>, <Stagione: 2013>, <Stagione: 2012>, <Stagione: 2011>, <Stagione: 2010>, <Stagione: 2009>, <Stagione: 2008>, <Stagione: 2007>, <Stagione: 2006>, <Stagione: 2005>, <Stagione: 2004>, <Stagione: 2003>, <Stagione: 2002>, <Stagione: 2001>, <Stagione: 2000>, <Stagione: 1999>, <Stagione: 1998>, '...(remaining elements truncated)...']>, 'titolo_stagione': 2, 'tornei': [], 'torneo': <Torneo: 2002-A/Gir.>, 'torneo_a': 147, 'torneo_b': 148} |
girone | 1 |
request | <WSGIRequest: GET '/calendario/2002/147/1/'> |
stagione | <Stagione: 2002> |
torneo | 147 |
trn | <Torneo: 2002-A/Gir.> |
/src/./calcio/funz_main.py
, line 959, in Calendario
ORDER BY GI.nome_giornata_id, SQ1.squadra, PT.data desc
""" % (str(torneo), str(gg_inf), str(gg_sup)))
for id, gior, cod, sq1, id_sq1, sq2, id_sq2, gol_1, gol_2, es, data, note, std in cu.fetchall():
if gior != gg_curr:
match[gior] = []
note_mtc[gior] = []
note_gior[gior] = ""
if giornate[gior][3] != "":…
note_gior[gior] = "NOTA: " + giornate[gior][3]
sq_curr = 0
if sq1 != sq_curr:
# Risultato
ris = ris_calendario(es, gol_1, gol_2)
# Data partita
Variable | Value |
---|---|
anno | 2002 |
cod | 'r' |
context | {'giornata_a': 2831, 'giornata_b': 5702, 'girone': 1, 'pagina': 'calendarioa', 'request': <WSGIRequest: GET '/calendario/2002/147/1/'>, 'serie': 'A', 'squadra_a': 1214, 'squadra_b': 2930, 'stagione': <Stagione: 2002>, 'stagioni': <QuerySet [<Stagione: 2017>, <Stagione: 2016>, <Stagione: 2015>, <Stagione: 2014>, <Stagione: 2013>, <Stagione: 2012>, <Stagione: 2011>, <Stagione: 2010>, <Stagione: 2009>, <Stagione: 2008>, <Stagione: 2007>, <Stagione: 2006>, <Stagione: 2005>, <Stagione: 2004>, <Stagione: 2003>, <Stagione: 2002>, <Stagione: 2001>, <Stagione: 2000>, <Stagione: 1999>, <Stagione: 1998>, '...(remaining elements truncated)...']>, 'titolo_stagione': 2, 'tornei': [], 'torneo': <Torneo: 2002-A/Gir.>, 'torneo_a': 147, 'torneo_b': 148} |
cu | <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7fef6bf46fa0> |
data | datetime.date(2002, 11, 6) |
es | 1 |
gg_curr | 0 |
gg_inf | 0 |
gg_sup | 16 |
gior | 1 |
giornate | {2: [2301, 'Giornata 2', datetime.date(2002, 9, 15), ''], 3: [2313, 'Giornata 3', datetime.date(2002, 9, 22), ''], 4: [2291, 'Giornata 4', datetime.date(2002, 9, 29), ''], 5: [2303, 'Giornata 5', datetime.date(2002, 10, 6), ''], 6: [2315, 'Giornata 6', datetime.date(2002, 10, 20), ''], 7: [2293, 'Giornata 7', datetime.date(2002, 10, 27), ''], 8: [2305, 'Giornata 8', datetime.date(2002, 11, 3), ''], 9: [2317, 'Giornata 9', datetime.date(2002, 11, 10), ''], 10: [2295, 'Giornata 10', datetime.date(2002, 11, 17), ''], 11: [2307, 'Giornata 11', datetime.date(2002, 11, 24), ''], 12: [2319, 'Giornata 12', datetime.date(2002, 12, 1), ''], 13: [2297, 'Giornata 13', datetime.date(2002, 12, 8), ''], 14: [2309, 'Giornata 14', datetime.date(2002, 12, 15), ''], 15: [2321, 'Giornata 15', datetime.date(2002, 12, 22), ''], 16: [2299, 'Giornata 16', datetime.date(2003, 1, 12), ''], 17: [2311, 'Giornata 17', datetime.date(2003, 1, 19), ''], 18: [2290, 'Giornata 18', datetime.date(2003, 1, 26), ''], 19: [2302, 'Giornata 19', datetime.date(2003, 2, 2), ''], 20: [2314, 'Giornata 20', datetime.date(2003, 2, 9), ''], 21: [2292, 'Giornata 21', datetime.date(2003, 2, 16), ''], 22: [2304, 'Giornata 22', datetime.date(2003, 2, 23), ''], 23: [2316, 'Giornata 23', datetime.date(2003, 3, 2), ''], 24: [2294, 'Giornata 24', datetime.date(2003, 3, 9), ''], 25: [2306, 'Giornata 25', datetime.date(2003, 3, 16), ''], 26: [2318, 'Giornata 26', datetime.date(2003, 3, 23), ''], 27: [2296, 'Giornata 27', datetime.date(2003, 4, 6), ''], 28: [2308, 'Giornata 28', datetime.date(2003, 4, 13), ''], 29: [2320, 'Giornata 29', datetime.date(2003, 4, 19), ''], 30: [2298, 'Giornata 30', datetime.date(2003, 4, 27), ''], 31: [2310, 'Giornata 31', datetime.date(2003, 5, 3), ''], 32: [2322, 'Giornata 32', datetime.date(2003, 5, 10), ''], 33: [2300, 'Giornata 33', datetime.date(2003, 5, 17), ''], 34: [2312, 'Giornata 34', datetime.date(2003, 5, 24), '']} |
girone | 1 |
gironi | <QuerySet [<Torneo: 2002-A/Gir.>]> |
gol_1 | 1 |
gol_2 | 3 |
id | 58397 |
id_sq1 | 1214 |
id_sq2 | 1215 |
match | {1: []} |
nome_gg | 'Giornata 32' |
note | '' |
note_data | {} |
note_gior | {1: ''} |
note_mtc | {1: []} |
num_giornate | 33 |
request | <WSGIRequest: GET '/calendario/2002/147/1/'> |
sq1 | 'Atalanta' |
sq2 | 'Modena' |
sq_curr | 0 |
std | 24 |
tornei | [] |
torneo | 147 |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'calcio-seriea.net' |
HTTP_REFERER | 'http://calcio-seriea.net/calendario/2002/147/' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.238.162.113, 172.17.0.1' |
HTTP_X_REAL_IP | '172.17.0.1' |
PATH_INFO | '/calendario/2002/147/1/' |
QUERY_STRING | '' |
REMOTE_ADDR | '172.17.0.4' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/calendario/2002/147/1/' |
SCRIPT_NAME | '' |
SERVER_NAME | 'fd1edad8dc73' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.0' |
uwsgi.node | b'fd1edad8dc73' |
uwsgi.version | b'2.0.18' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
wsgi.file_wrapper | <built-in function uwsgi_sendfile> |
wsgi.input | <uwsgi._Input object at 0x7fef7040f910> |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
settings.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/src') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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', 'HOST': 'db', 'NAME': 'postgres', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, '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', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
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_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
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_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 | 420 |
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' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'calcio'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian 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'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('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'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'it-IT' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/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'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'settings.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
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 | 'settings.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 | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], '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']}}] |
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 | 'UTC' |
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 | 'settings.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
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.