def get_queryset(self):
    profile = Profile.objects.get(user=self.request.user)
    return Message.objects.filter(from_user=profile).order_by('-date')
def get_queryset(self):
    profile = Profile.objects.get(user=self.request.user)
    return Message.objects.filter(from_user=profile).order_by('-date')