["'visualiser@nantien.edu.au' is not a valid UUID."]
Request Method: | GET |
---|---|
Request URL: | http://visualiser.nantien.edu.au/en/biblio/visualiser@nantien.edu.au |
Django Version: | 2.1.5 |
Exception Type: | ValidationError |
Exception Value: | ["'visualiser@nantien.edu.au' is not a valid UUID."] |
Exception Location: | /home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/fields/__init__.py in to_python, line 2330 |
Python Executable: | /home/ubuntu/django_env/bin/python3 |
Python Version: | 3.5.2 |
Python Path: | ['/home/ubuntu/django_env/bin', '/home/ubuntu/vis2021/src', '/home/ubuntu/django_env/lib/python35.zip', '/home/ubuntu/django_env/lib/python3.5', '/home/ubuntu/django_env/lib/python3.5/plat-x86_64-linux-gnu', '/home/ubuntu/django_env/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/home/ubuntu/django_env/lib/python3.5/site-packages'] |
Server time: | Thu, 18 Apr 2024 16:46:26 +0000 |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/fields/__init__.py
in to_python
if connection.features.has_native_uuid_field:
return value
return value.hex
def to_python(self, value):
if value is not None and not isinstance(value, uuid.UUID):
try:
return uuid.UUID(value)...
except (AttributeError, ValueError):
raise exceptions.ValidationError(
self.error_messages['invalid'],
code='invalid',
params={'value': value},
)
Variable | Value |
---|---|
self | <django.db.models.fields.UUIDField: biblio_identifier> |
value | 'visualiser@nantien.edu.au' |
/usr/lib/python3.5/uuid.py
in __init__
if [hex, bytes, bytes_le, fields, int].count(None) != 4:
raise TypeError('one of the hex, bytes, bytes_le, fields, '
'or int arguments must be given')
if hex is not None:
hex = hex.replace('urn:', '').replace('uuid:', '')
hex = hex.strip('{}').replace('-', '')
if len(hex) != 32:
raise ValueError('badly formed hexadecimal UUID string')...
int = int_(hex, 16)
if bytes_le is not None:
if len(bytes_le) != 16:
raise ValueError('bytes_le is not a 16-char string')
bytes = (bytes_le[4-1::-1] + bytes_le[6-1:4-1:-1] +
bytes_le[8-1:6-1:-1] + bytes_le[8:])
Variable | Value |
---|---|
bytes | None |
bytes_le | None |
fields | None |
hex | 'visualiser@nantien.edu.au' |
int | None |
self | Error in formatting: AttributeError: 'UUID' object has no attribute 'int' |
version | None |
/home/ubuntu/django_env/lib/python3.5/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 | ValidationError(["'visualiser@nantien.edu.au' is not a valid UUID."]) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f897cb65978>> |
request | <WSGIRequest: GET '/en/biblio/visualiser@nantien.edu.au'> |
/home/ubuntu/django_env/lib/python3.5/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 biblioEN_view_specific at 0x7f897a9f9488> |
callback_args | () |
callback_kwargs | {'biblio_identifier': 'visualiser@nantien.edu.au'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f897cb2de80>> |
request | <WSGIRequest: GET '/en/biblio/visualiser@nantien.edu.au'> |
resolver | <URLResolver 'visualiser3.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=biblio.views.biblioEN_view_specific, args=(), kwargs={'biblio_identifier': 'visualiser@nantien.edu.au'}, url_name=biblio, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f897cb65978> |
wrapped_callback | <function biblioEN_view_specific at 0x7f897a9f9488> |
/home/ubuntu/django_env/lib/python3.5/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 biblioEN_view_specific at 0x7f897a9f9488> |
callback_args | () |
callback_kwargs | {'biblio_identifier': 'visualiser@nantien.edu.au'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f897cb2de80>> |
request | <WSGIRequest: GET '/en/biblio/visualiser@nantien.edu.au'> |
resolver | <URLResolver 'visualiser3.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=biblio.views.biblioEN_view_specific, args=(), kwargs={'biblio_identifier': 'visualiser@nantien.edu.au'}, url_name=biblio, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f897cb65978> |
wrapped_callback | <function biblioEN_view_specific at 0x7f897a9f9488> |
/home/ubuntu/vis2021/src/biblio/views.py
in biblioEN_view_specific
queryset_bibrec_all = bibrec.objects.all()
queryset_bibrec = queryset_bibrec_all.filter(belongs_to_bib=biblio_identifier)
vizAll = viz.objects.all()
vizSpecific = vizAll.filter(biblio_identifier=biblio_identifier)
viz_identifierRaw = vizSpecific.values("viz_identifier")
viz_identifier = viz_identifierRaw[0].get("viz_identifier")...
keywd_identifierRaw = vizSpecific.values("keywd_identifier")
keywd_identifier = keywd_identifierRaw[0].get("keywd_identifier")
if request.method == 'GET':
form = bibrecform()
Variable | Value |
---|---|
biblio_identifier | 'visualiser@nantien.edu.au' |
queryset | Error in formatting: ValidationError: ["'visualiser@nantien.edu.au' is not a valid UUID."] |
queryset_all | <QuerySet []> |
queryset_bibrec | <QuerySet []> |
queryset_bibrec_all | <QuerySet []> |
request | <WSGIRequest: GET '/en/biblio/visualiser@nantien.edu.au'> |
vizAll | <QuerySet []> |
vizSpecific | Error in formatting: ValidationError: ["'visualiser@nantien.edu.au' is not a valid UUID."] |
viz_identifierRaw | Error in formatting: ValidationError: ["'visualiser@nantien.edu.au' is not a valid UUID."] |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/query.py
in __getitem__
else:
stop = None
qs.query.set_limits(start, stop)
return list(qs)[::k.step] if k.step else qs
qs = self._chain()
qs.query.set_limits(k, k + 1)
qs._fetch_all()...
return qs._result_cache[0]
def __and__(self, other):
self._merge_sanity_check(other)
if isinstance(other, EmptyQuerySet):
return other
Variable | Value |
---|---|
k | 0 |
qs | Error in formatting: ValidationError: ["'visualiser@nantien.edu.au' is not a valid UUID."] |
self | Error in formatting: ValidationError: ["'visualiser@nantien.edu.au' is not a valid UUID."] |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/query.py
in _fetch_all
c._known_related_objects = self._known_related_objects
c._iterable_class = self._iterable_class
c._fields = self._fields
return c
def _fetch_all(self):
if self._result_cache is None:
self._result_cache = list(self._iterable_class(self))...
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
def _next_is_sticky(self):
"""
Indicate that the next filter call and the one following that should
Variable | Value |
---|---|
self | Error in formatting: ValidationError: ["'visualiser@nantien.edu.au' is not a valid UUID."] |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/query.py
in __iter__
extra_names = list(query.extra_select)
annotation_names = list(query.annotation_select)
# extra(select=...) cols are always at the start of the row.
names = extra_names + field_names + annotation_names
indexes = range(len(names))
for row in compiler.results_iter(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size):...
yield {names[i]: row[i] for i in indexes}
class ValuesListIterable(BaseIterable):
"""
Iterable returned by QuerySet.values_list(flat=False) that yields a tuple
Variable | Value |
---|---|
annotation_names | [] |
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
extra_names | [] |
field_names | ['viz_identifier'] |
indexes | range(0, 1) |
names | ['viz_identifier'] |
query | <django.db.models.sql.query.Query object at 0x7f897a44a550> |
queryset | Error in formatting: ValidationError: ["'visualiser@nantien.edu.au' is not a valid UUID."] |
self | <django.db.models.query.ValuesIterable object at 0x7f897a44af60> |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/sql/compiler.py
in results_iter
row[pos] = value
yield row
def results_iter(self, results=None, tuple_expected=False, chunked_fetch=False,
chunk_size=GET_ITERATOR_CHUNK_SIZE):
"""Return an iterator over the results from executing this query."""
if results is None:
results = self.execute_sql(MULTI, chunked_fetch=chunked_fetch, chunk_size=chunk_size)...
fields = [s[0] for s in self.select[0:self.col_count]]
converters = self.get_converters(fields)
rows = chain.from_iterable(results)
if converters:
rows = self.apply_converters(rows, converters)
if tuple_expected:
Variable | Value |
---|---|
chunk_size | 100 |
chunked_fetch | False |
results | None |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
tuple_expected | False |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/sql/compiler.py
in execute_sql
cursor is returned if any query is executed, since it's used by
subclasses such as InsertQuery). It's possible, however, that no query
is needed, as the filters describe an empty set. In that case, None is
returned, to avoid any unnecessary database interaction.
"""
result_type = result_type or NO_RESULTS
try:
sql, params = self.as_sql()...
if not sql:
raise EmptyResultSet
except EmptyResultSet:
if result_type == MULTI:
return iter([])
else:
Variable | Value |
---|---|
chunk_size | 100 |
chunked_fetch | False |
result_type | 'multi' |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/sql/compiler.py
in as_sql
raise NotSupportedError('{} is not supported on this database backend.'.format(combinator))
result, params = self.get_combinator_sql(combinator, self.query.combinator_all)
else:
distinct_fields, distinct_params = self.get_distinct()
# This must come after 'select', 'ordering', and 'distinct'
# (see docstring of get_from_clause() for details).
from_, f_params = self.get_from_clause()
where, w_params = self.compile(self.where) if self.where is not None else ("", [])...
having, h_params = self.compile(self.having) if self.having is not None else ("", [])
result = ['SELECT']
params = []
if self.query.distinct:
distinct_result, distinct_params = self.connection.ops.distinct_sql(
Variable | Value |
---|---|
combinator | None |
distinct_fields | [] |
distinct_params | [] |
extra_select | [] |
f_params | [] |
features | <django.db.backends.sqlite3.features.DatabaseFeatures object at 0x7f897ac149b0> |
for_update_part | None |
from_ | ['"viz_viz"'] |
group_by | [] |
order_by | [] |
refcounts_before | {'viz_viz': 2} |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
with_col_aliases | False |
with_limit_offset | True |
with_limits | True |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/sql/compiler.py
in compile
return r
def compile(self, node, select_format=False):
vendor_impl = getattr(node, 'as_' + self.connection.vendor, None)
if vendor_impl:
sql, params = vendor_impl(self, self.connection)
else:
sql, params = node.as_sql(self, self.connection)...
if select_format is FORCE or (select_format and not self.query.subquery):
return node.output_field.select_format(self, sql, params)
return sql, params
def get_combinator_sql(self, combinator, all):
features = self.connection.features
Variable | Value |
---|---|
node | <WhereNode: (AND: <django.db.models.lookups.Exact object at 0x7f897a44a5f8>)> |
select_format | False |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
vendor_impl | None |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/sql/where.py
in as_sql
if self.connector == AND:
full_needed, empty_needed = len(self.children), 1
else:
full_needed, empty_needed = 1, len(self.children)
for child in self.children:
try:
sql, params = compiler.compile(child)...
except EmptyResultSet:
empty_needed -= 1
else:
if sql:
result.append(sql)
result_params.extend(params)
Variable | Value |
---|---|
child | <django.db.models.lookups.Exact object at 0x7f897a44a5f8> |
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
connection | <django.db.backends.sqlite3.base.DatabaseWrapper object at 0x7f897b116dd8> |
empty_needed | 1 |
full_needed | 1 |
result | [] |
result_params | [] |
self | <WhereNode: (AND: <django.db.models.lookups.Exact object at 0x7f897a44a5f8>)> |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/sql/compiler.py
in compile
return r
def compile(self, node, select_format=False):
vendor_impl = getattr(node, 'as_' + self.connection.vendor, None)
if vendor_impl:
sql, params = vendor_impl(self, self.connection)
else:
sql, params = node.as_sql(self, self.connection)...
if select_format is FORCE or (select_format and not self.query.subquery):
return node.output_field.select_format(self, sql, params)
return sql, params
def get_combinator_sql(self, combinator, all):
features = self.connection.features
Variable | Value |
---|---|
node | <django.db.models.lookups.Exact object at 0x7f897a44a5f8> |
select_format | False |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
vendor_impl | None |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/lookups.py
in as_sql
lhs_sql = connection.ops.field_cast_sql(
db_type, field_internal_type) % lhs_sql
lhs_sql = connection.ops.lookup_cast(self.lookup_name, field_internal_type) % lhs_sql
return lhs_sql, list(params)
def as_sql(self, compiler, connection):
lhs_sql, params = self.process_lhs(compiler, connection)
rhs_sql, rhs_params = self.process_rhs(compiler, connection)...
params.extend(rhs_params)
rhs_sql = self.get_rhs_op(connection, rhs_sql)
return '%s %s' % (lhs_sql, rhs_sql), params
def get_rhs_op(self, connection, rhs):
return connection.operators[self.lookup_name] % rhs
Variable | Value |
---|---|
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
connection | <django.db.backends.sqlite3.base.DatabaseWrapper object at 0x7f897b116dd8> |
lhs_sql | '"viz_viz"."biblio_identifier"' |
params | [] |
self | <django.db.models.lookups.Exact object at 0x7f897a44a5f8> |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/lookups.py
in process_rhs
self.rhs.clear_select_clause()
self.rhs.add_fields(['pk'])
else:
raise ValueError(
'The QuerySet value for an exact lookup must be limited to '
'one result using slicing.'
)
return super().process_rhs(compiler, connection)...
@Field.register_lookup
class IExact(BuiltinLookup):
lookup_name = 'iexact'
prepare_rhs = False
Variable | Value |
---|---|
Query | <class 'django.db.models.sql.query.Query'> |
__class__ | <class 'django.db.models.lookups.Exact'> |
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
connection | <django.db.backends.sqlite3.base.DatabaseWrapper object at 0x7f897b116dd8> |
self | <django.db.models.lookups.Exact object at 0x7f897a44a5f8> |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/lookups.py
in process_rhs
value = Value(value, output_field=self.lhs.output_field)
value = self.apply_bilateral_transforms(value)
value = value.resolve_expression(compiler.query)
if hasattr(value, 'as_sql'):
sql, params = compiler.compile(value)
return '(' + sql + ')', params
else:
return self.get_db_prep_lookup(value, connection)...
def rhs_is_direct_value(self):
return not hasattr(self.rhs, 'as_sql')
def relabeled_clone(self, relabels):
new = copy(self)
Variable | Value |
---|---|
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0x7f897a44a208> |
connection | <django.db.backends.sqlite3.base.DatabaseWrapper object at 0x7f897b116dd8> |
self | <django.db.models.lookups.Exact object at 0x7f897a44a5f8> |
value | 'visualiser@nantien.edu.au' |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/lookups.py
in get_db_prep_lookup
# For relational fields, use the output_field of the 'field' attribute.
field = getattr(self.lhs.output_field, 'field', None)
get_db_prep_value = getattr(field, 'get_db_prep_value', None) or self.lhs.output_field.get_db_prep_value
return (
'%s',
[get_db_prep_value(v, connection, prepared=True) for v in value]
if self.get_db_prep_lookup_value_is_iterable else
[get_db_prep_value(value, connection, prepared=True)]...
)
class FieldGetDbPrepValueIterableMixin(FieldGetDbPrepValueMixin):
"""
Some lookups require Field.get_db_prep_value() to be called on each value
Variable | Value |
---|---|
connection | <django.db.backends.sqlite3.base.DatabaseWrapper object at 0x7f897b116dd8> |
field | None |
get_db_prep_value | <bound method UUIDField.get_db_prep_value of <django.db.models.fields.UUIDField: biblio_identifier>> |
self | <django.db.models.lookups.Exact object at 0x7f897a44a5f8> |
value | 'visualiser@nantien.edu.au' |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/fields/__init__.py
in get_db_prep_value
def get_internal_type(self):
return "UUIDField"
def get_db_prep_value(self, value, connection, prepared=False):
if value is None:
return None
if not isinstance(value, uuid.UUID):
value = self.to_python(value)...
if connection.features.has_native_uuid_field:
return value
return value.hex
def to_python(self, value):
Variable | Value |
---|---|
connection | <django.db.backends.sqlite3.base.DatabaseWrapper object at 0x7f897b116dd8> |
prepared | True |
self | <django.db.models.fields.UUIDField: biblio_identifier> |
value | 'visualiser@nantien.edu.au' |
/home/ubuntu/django_env/lib/python3.5/site-packages/django/db/models/fields/__init__.py
in to_python
if value is not None and not isinstance(value, uuid.UUID):
try:
return uuid.UUID(value)
except (AttributeError, ValueError):
raise exceptions.ValidationError(
self.error_messages['invalid'],
code='invalid',
params={'value': value},...
)
return value
def formfield(self, **kwargs):
return super().formfield(**{
'form_class': forms.UUIDField,
Variable | Value |
---|---|
self | <django.db.models.fields.UUIDField: biblio_identifier> |
value | 'visualiser@nantien.edu.au' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'visualiser.nantien.edu.au' |
HTTP_REFERER | 'http://visualiser.nantien.edu.au/en/biblio/visualiser@nantien.edu.au' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '18.188.142.146' |
PATH_INFO | '/en/biblio/visualiser@nantien.edu.au' |
QUERY_STRING | '' |
RAW_URI | '/en/biblio/visualiser@nantien.edu.au' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '47128' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.0' |
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', 47128)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f897a6ca6a0> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f897a6caf98> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
visualiser3.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['.visualiser.nantien.edu.au', '127.0.0.1', '*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/ubuntu/vis2021/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.sqlite3', 'HOST': '', 'NAME': '/home/ubuntu/vis2021/src/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
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 | [] |
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', 'home', 'member', 'project', 'biblio', 'bibrec', 'keywd', 'keywdrec', 'weblink', 'viz', 'collection', 'publicationlist', 'publication', 'statistic', 'sentencelist', 'sentence', 'backgroundtask', 'visualiser', 'statisticDetail', 'colocation', 'landing', 'readinglist'] |
INTERNAL_IPS | [] |
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 | 'en-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 | 'collection' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | 'home' |
MANAGERS | [] |
MEDIA_ROOT | '/home/ubuntu/vis2021/media_cdn' |
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_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'visualiser3.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 | 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 | 'visualiser3.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 | ('/home/ubuntu/vis2021/src/static',) |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/ubuntu/vis2021/static_cdn' |
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']}}] |
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 | 'visualiser3.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.