tuple index out of range
Request Method: | GET |
---|---|
Request URL: | https://mosman1914-1918.net/people/events/128.ttl/ |
Django Version: | 2.2.13 |
Exception Type: | IndexError |
Exception Value: | tuple index out of range |
Exception Location: | /home/mosman1914/mosman1914_dob/app/people/models.py in __str__, line 215 |
Python Executable: | /home/mosman1914/app/venv/bin/python3 |
Python Version: | 3.6.8 |
Python Path: | ['/home/mosman1914/mosman1914_dob', '/home/mosman1914/mosman1914_dob/venv/bin', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/home/mosman1914/app/venv/lib64/python3.6/site-packages', '/home/mosman1914/app/venv/lib/python3.6/site-packages'] |
Server time: | Thu, 28 Mar 2024 03:40:38 -0500 |
/home/mosman1914/app/venv/lib64/python3.6/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 | IndexError('tuple index out of range',) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f08ed819b70>> |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
/home/mosman1914/app/venv/lib64/python3.6/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 LifeEventView at 0x7f08eccfb950> |
callback_args | () |
callback_kwargs | {'format': 'ttl', 'id': '128'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f08ed6477b8>> |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
resolver | <URLResolver 'app.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=app.people.views.LifeEventView, args=(), kwargs={'id': '128', 'format': 'ttl'}, url_name=None, app_names=[], namespaces=[], route=^people/events/(?P<id>\d+)\.(?P<format>(html|rdf|json|ttl))/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f08ed819b70> |
wrapped_callback | <function LifeEventView at 0x7f08eccfb950> |
/home/mosman1914/app/venv/lib64/python3.6/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 LifeEventView at 0x7f08eccfb950> |
callback_args | () |
callback_kwargs | {'format': 'ttl', 'id': '128'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f08ed6477b8>> |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
resolver | <URLResolver 'app.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=app.people.views.LifeEventView, args=(), kwargs={'id': '128', 'format': 'ttl'}, url_name=None, app_names=[], namespaces=[], route=^people/events/(?P<id>\d+)\.(?P<format>(html|rdf|json|ttl))/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f08ed819b70> |
wrapped_callback | <function LifeEventView at 0x7f08eccfb950> |
/home/mosman1914/app/venv/lib64/python3.6/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 'app.people.views.LifeEventView'> |
initkwargs | {} |
kwargs | {'format': 'ttl', 'id': '128'} |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/views.py
in dispatch
http_client.NOT_ACCEPTABLE: ('conneg/not_acceptable',),
http_client.BAD_REQUEST: ('conneg/bad_request', '400'),
http_client.SERVICE_UNAVAILABLE: ('conneg/service_unavailable', '503'),
'default': ('conneg/error',)}
def dispatch(self, request, *args, **kwargs):
try:
return super(ContentNegotiatedView, self).dispatch(request, *args, **kwargs)…
except http.Http404 as e:
return self.error(request, e, args, kwargs, http_client.NOT_FOUND)
except exceptions.PermissionDenied as e:
return self.error(request, e, args, kwargs, http_client.FORBIDDEN)
except HttpError as e:
return self.error(request, e, args, kwargs, e.status_code)
Variable | Value |
---|---|
__class__ | <class 'django_conneg.views.ContentNegotiatedView'> |
args | () |
kwargs | {'format': 'ttl', 'id': '128'} |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/views.py
in dispatch
self.format_override = None
self.request = request
self.args = args
self.kwargs = kwargs
self.conneg = Conneg(obj=self)
self.set_renderers(request)
return super(BaseContentNegotiatedView, self).dispatch(request, *args, **kwargs)…
def set_renderers(self, request=None, context=None, template_name=None, early=False):
"""
Makes sure that the renderers attribute on the request is up
to date. renderers_for_view keeps track of the view that
is attempting to render the request, so that if the request
Variable | Value |
---|---|
__class__ | <class 'django_conneg.views.BaseContentNegotiatedView'> |
args | () |
format_url_parameter | 'ttl' |
kwargs | {'id': '128'} |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
/home/mosman1914/app/venv/lib64/python3.6/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 LinkedDataView.get of <app.people.views.LifeEventView object at 0x7f08e80dca58>> |
kwargs | {'id': '128'} |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
/home/mosman1914/mosman1914_dob/app/linkeddata/views.py
in get
else:
if redirect_to:
return redirect(self.model.objects.get(id=redirect_to.id), permanent=True)
# End redirect check
context = {}
if format:
context['content'] = self.model.objects.select_related().get(id=id)
return self.render_to_format(request, context, self.template_name, format)…
else:
context['status_code'] = 303
context['additional_headers'] = {'location': self.path % id}
context['content'] = None
return self.render(request, context, self.template_name)
Variable | Value |
---|---|
context | Error in formatting: IndexError: tuple index out of range |
format | 'ttl' |
full_url | '/people/events/128.ttl/' |
id | '128' |
instance | Error in formatting: IndexError: tuple index out of range |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/views.py
in render_to_format
request, context, template_name = self.get_render_params(request, context, template_name)
self.set_renderers()
status_code = context.pop('status_code', http_client.OK)
additional_headers = context.pop('additional_headers', {})
for renderer in self.conneg.renderers_by_format.get(format, ()):
response = renderer(request, context, template_name)…
if response is not NotImplemented:
break
else:
response = self.http_not_acceptable(request, ())
renderer = None
Variable | Value |
---|---|
additional_headers | {} |
context | Error in formatting: IndexError: tuple index out of range |
format | 'ttl' |
renderer | Error in formatting: AttributeError: 'function' object has no attribute 'im_class' |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
status_code | <HTTPStatus.OK: 200> |
template_name | 'people/life_event' |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/conneg.py
in __call__
self.priority = priority
self.is_bound = instance is not None
def __get__(self, instance, owner=None):
return Renderer(self.func, self.format, self.mimetypes, self.priority, self.name, self.test, instance, owner)
def __call__(self, *args, **kwargs):
return self.func(*args, **kwargs)…
@property
def __name__(self):
return self.func.__name__
@__name__.setter
def __name__(self, name):
Variable | Value |
---|---|
args | Error in formatting: IndexError: tuple index out of range |
kwargs | {} |
self | Error in formatting: AttributeError: 'function' object has no attribute 'im_class' |
/home/mosman1914/mosman1914_dob/app/linkeddata/views.py
in render_ttl
return HttpResponse(graph.serialize(format='pretty-xml'), content_type='application/rdf+xml')
else:
return HttpResponse(content='')
@renderer(format='ttl', mimetypes=('text/turtle',), name='TURTLE')
def render_ttl(self, request, context, template_name):
if context['content']:
graph = self.make_graph(context['content'])…
return HttpResponse(graph.serialize(format='turtle'), content_type='text/turtle')
else:
return HttpResponse(content='')
class LinkedDataListView(LinkedDataView):
Variable | Value |
---|---|
context | Error in formatting: IndexError: tuple index out of range |
request | <WSGIRequest: GET '/people/events/128.ttl/'> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
template_name | 'people/life_event' |
/home/mosman1914/mosman1914_dob/app/people/views.py
in make_graph
for schema in schemas:
namespace = Namespace(schema.uri)
graph.bind(schema.prefix, namespace)
namespaces[schema.prefix] = namespace
host_ns = Namespace('http://%s' % (Site.objects.get_current().domain))
this_person = URIRef(host_ns[entity.get_absolute_url()])
graph.add((this_person, namespaces['rdf']['type'], namespaces['foaf']['Person']))
graph.add((this_person, namespaces['rdfs']['label'], Literal(str(entity))))…
return graph
class StoryView(LinkedDataView):
model = PeopleStory
path = '/stories/%s'
Variable | Value |
---|---|
entity | Error in formatting: IndexError: tuple index out of range |
graph | <Graph identifier=N7eac7ada355e407bb1ea75657396491c (<class 'rdflib.graph.Graph'>)> |
host_ns | Namespace('http://mosman1914-1918.net') |
namespace | Namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#') |
namespaces | {'bibo': Namespace('http://purl.org/ontology/bibo/'), 'bio': Namespace('http://purl.org/vocab/bio/0.1/'), 'dc': Namespace('http://purl.org/dc/terms/'), 'foaf': Namespace('http://xmlns.com/foaf/0.1/'), 'geo': Namespace('http://www.w3.org/2003/01/geo/wgs84_pos#'), 'graves': Namespace('http://rdf.muninn-project.org/ontologies/graves#'), 'owl': Namespace('http://www.w3.org/2002/07/owl#'), 'rdf': Namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#'), 'rdfs': Namespace('http://www.w3.org/2000/01/rdf-schema#'), 'rel': Namespace('http://purl.org/vocab/relationship/')} |
schema | <RDFSchema: rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#> |
schemas | <QuerySet [<RDFSchema: foaf: http://xmlns.com/foaf/0.1/>, <RDFSchema: rdfs: http://www.w3.org/2000/01/rdf-schema#>, <RDFSchema: owl: http://www.w3.org/2002/07/owl#>, <RDFSchema: dc: http://purl.org/dc/terms/>, <RDFSchema: bio: http://purl.org/vocab/bio/0.1/>, <RDFSchema: geo: http://www.w3.org/2003/01/geo/wgs84_pos#>, <RDFSchema: rel: http://purl.org/vocab/relationship/>, <RDFSchema: graves: http://rdf.muninn-project.org/ontologies/graves#>, <RDFSchema: bibo: http://purl.org/ontology/bibo/>, <RDFSchema: rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#>]> |
self | <app.people.views.LifeEventView object at 0x7f08e80dca58> |
this_person | rdflib.term.URIRef('http://mosman1914-1918.net/people/events/128/') |
/home/mosman1914/mosman1914_dob/app/people/models.py
in __str__
#sources = models.ManyToManyField('sources.Source', blank=True)
type_of_event = models.ForeignKey('people.LifeEventType', on_delete=models.CASCADE, blank=True, null=True)
memorials = models.ManyToManyField('memorials.Memorial', blank=True)
def __str__(self):
return '{} {} {}'.format(
self.person,
'{}{}'.format() if self.label[0] else '',…
'({})'.format(self.date_summary()) if self.date_summary() else ''
)
def summary(self):
if self.date_summary():
summary = '{} ({})'.format(self.label, self.date_summary())
Variable | Value |
---|---|
self | Error in formatting: IndexError: tuple index out of range |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CPANEL_LOCALHOST | 'Fms4WMNnt5nVz2Y4MCSmCYicBgYkjmgyY9y4OdFiasU46f1M2kL1erkvq61k5Q2Q' |
HTTP_HOST | 'mosman1914-1918.net' |
HTTP_REFERER | 'http://mosman1914-1918.net/people/events/128.ttl/' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.234.136.147' |
HTTP_X_FORWARDED_FOR_FMS4WMNNT5NVZ2Y4MCSMCYICBGYKJMGYY9Y4ODFIASU46F1M2KL1ERKVQ61K5Q2Q | '54.234.136.147' |
HTTP_X_FORWARDED_HOST | 'mosman1914-1918.net' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SERVER | 'mosman1914-1918.net' |
HTTP_X_REAL_IP | '54.234.136.147' |
PATH_INFO | '/people/events/128.ttl/' |
QUERY_STRING | '' |
RAW_URI | '/people/events/128.ttl/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '56676' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8000), raddr=('127.0.0.1', 56676)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f08e80dcf28> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f08eaf6e128> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
app.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_ACTIVATION_DAYS | 7 |
ADMINS | (('web team', 'webteam@mosman.nsw.gov.au'),) |
ALLOWED_HOSTS | ['*'] |
ANONYMOUS_USER_ID | -1 |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'guardian.backends.ObjectPermissionBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AUTO_RENDER_SELECT2_STATICS | False |
BASE_DIR | '/home/mosman1914' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'default': {'forcePasteAsPlainText': True, 'height': 200, 'toolbar': [{'items': ['Source', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'], 'name': 'clipboard'}, {'items': ['SelectAll', 'Link', 'Unlink'], 'name': 'editing'}, {'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'], 'name': 'basicstyles'}, {'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote'], 'name': 'paragraph'}], 'width': '50%'}} |
CKEDITOR_UPLOAD_PATH | '/home/mosman1914/mosman1914_dob/media' |
CMS_TEMPLATES | (('cms_template_1.html', 'Template One'), ('cms_template_2.html', 'Template Two')) |
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': '', 'NAME': 'mosman1914django', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'mosman1914django'}} |
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 | 'j M 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 | 'admin@mosman1914-1918.net' |
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 |
ENABLE_SELECT2_MULTI_PROCESS_SUPPORT | 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' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'reversion', 'guardian', 'django_registration', 'django_select2', 'easy_thumbnails', 'django_extensions', 'ckeditor', 'app.templatetags', 'app.memorials', 'app.people', 'app.events', 'app.places', 'app.objects', 'app.sources', 'app.linkeddata') |
INTERNAL_IPS | [] |
LANGUAGES | [('en', 'English')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-au' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | () |
MEDIA_ROOT | '/home/mosman1914/mosman1914_dob/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'middleware.ssl.SSLMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_PATH | '/home/mosman1914/mosman1914_dob' |
ROOT_URLCONF | 'app.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 |
SELECT2_BOOTSTRAP | True |
SELECT2_CACHE_BACKEND | 'default' |
SELECT2_CACHE_PREFIX | 'select2_' |
SELECT2_CSS | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css' |
SELECT2_I18N_AVAILABLE_LANGUAGES | ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] |
SELECT2_I18N_PATH | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/i18n' |
SELECT2_JS | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min.js' |
SELECT2_LIB_VERSION | '4.0.5' |
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 | 'app.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 | ('/home/mosman1914/mosman1914_dob/static', '/home/mosman1914/mosman1914_dob/app/static') |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/mosman1914/mosman1914_dob/app/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']}}] |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static') |
TEMPLATE_DEBUG | True |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_DEBUG | False |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/Chicago' |
USE_I18N | True |
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'app.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.