[Fixed]-Django filter not filtering by user_id

1👍

I figured it out. When I added the specific course, it was adding the course to the wrong user because I was using self.request.user instead of grabbing the id from the URL via self.kwargs[‘pk’].

Sorry to have wasted anyone’s time.

Leave a comment