diff --git a/rest_live/mixins.py b/rest_live/mixins.py index 2f9108d..75fc0f9 100644 --- a/rest_live/mixins.py +++ b/rest_live/mixins.py @@ -82,6 +82,7 @@ def from_scope(cls, viewset_action, scope, view_kwargs, query_params): ) # TODO: Run other middleware? base_request.user = scope.get("user", None) + base_request._user = scope.get("user", None) base_request.session = scope.get("session", None) self.request = self.initialize_request(base_request)