Traceback (most recent call last):


 "C:\Users\Smart\Envs\django-env\lib\site-packages\django\core\handlers\exception.py", line 47, in inner

response = get_response(request)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view

return view_func(*args, **kwargs)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\django\views\generic\base.py", line 70, in view

return self.dispatch(request, *args, **kwargs)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework\views.py", line 509, in dispatch

response = self.handle_exception(exc)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework\views.py", line 469, in handle_exception

self.raise_uncaught_exception(exc)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception

raise exc


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework\views.py", line 506, in dispatch

response = handler(request, *args, **kwargs)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework_simplejwt\views.py", line 27, in post

serializer.is_valid(raise_exception=True)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework\serializers.py", line 220, in is_valid

self._validated_data = self.run_validation(self.initial_data)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework\serializers.py", line 422, in run_validation

value = self.validate(value)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework_simplejwt\serializers.py", line 70, in validate

data = super().validate(attrs)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\rest_framework_simplejwt\serializers.py", line 49, in validate

self.user = authenticate(**authenticate_kwargs)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\django\contrib\auth\__init__.py", line 73, in authenticate

user = backend.authenticate(request, **credentials)


 "C:\Users\Smart\Envs\django-env\lib\site-packages\django\contrib\auth\backends.py", line 42, in authenticate

user = UserModel._default_manager.get_by_natural_key(username)
AttributeError: 'Manager' object has no attribute 'get_by_natural_key'

Traceback (most recent call last):


 "test.py", line 4, in <module>

print(ray.get_runtime_context().node_id.hex())


 "/Users/eoakes/code/ray/python/ray/runtime_context.py", line 58, in node_id

node_id = self.worker.current_node_id


 "/Users/eoakes/code/ray/python/ray/worker.py", line 148, in current_node_id

return self.core_worker.get_current_node_id()
AttributeError: 'Worker' object has no attribute 'core_worker'
