If the user requests his profile return it, else return a 403 (Forbidden)

def get(self, request,pk):
        """
        If the user requests his profile return it, else return a 403 (Forbidden)
        """    
        requested_profile = Profile.objects.get(user=pk)
        
        if requested_profile.user == self.request.user:
            
            return render(request, self.template_name, {'profile' : requested_profile})
        
        else:
            
            return HttpResponse(status = 403)