2021-02-20 02:47:23,717 django.request ERROR Internal Server Error: /api/admin/music/library/
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/usr/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3.7/contextlib.py", line 74, in inner
return func(*args, **kwds)
File "/usr/lib/python3.7/site-packages/django/contrib/admin/options.py", line 607, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/django/contrib/admin/sites.py", line 231, in inner
return view(request, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/django/contrib/admin/options.py", line 1678, in changelist_view
cl = self.get_changelist_instance(request)
File "/usr/lib/python3.7/site-packages/django/contrib/admin/options.py", line 741, in get_changelist_instance
sortable_by,
File "/usr/lib/python3.7/site-packages/django/contrib/admin/views/main.py", line 97, in __init__
self.queryset = self.get_queryset(request)
File "/usr/lib/python3.7/site-packages/django/contrib/admin/views/main.py", line 457, in get_queryset
qs, search_use_distinct = self.model_admin.get_search_results(request, qs, self.query)
File "/usr/lib/python3.7/site-packages/django/contrib/admin/options.py", line 1016, in get_search_results
queryset = queryset.filter(reduce(operator.or_, or_queries))
File "/usr/lib/python3.7/site-packages/django/db/models/query.py", line 904, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/django/db/models/query.py", line 923, in _filter_or_exclude
clone.query.add_q(Q(*args, **kwargs))
File "/usr/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1354, in add_q
clause, _ = self._add_q(q_object, self.used_aliases)
File "/usr/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1377, in _add_q
check_filterable,
File "/usr/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1385, in _add_q
check_filterable=check_filterable,
File "/usr/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1307, in build_filter
raise FieldError('Related Field got invalid lookup: {}'.format(lookups[0]))
django.core.exceptions.FieldError: Related Field got invalid lookup: username
Options
Submit your command options and arguments like volumes, environment variables, and ports.
Describe the bug
Logs
Options Submit your command options and arguments like volumes, environment variables, and ports.
System information